UnrealSense Quick guide

UnrealSense — quick guide

Unreal Engine help for Visual Studio 2022 and 2026: where your C++ is used in Blueprints, reflection specifier suggestions, Unreal-aware completion, navigation and warnings. It works with the Unreal Editor closed too.

Shortcuts

Alt+Shift+QQuick Menu: every command, filtered for where the caret is
Alt+Shift+BFind Blueprint Usages
Ctrl+click, F12, Alt+GGo to definition
Shift+F12 / Ctrl+F12Find Usages / Go to declaration
Ctrl+Shift+SpaceParameter Info
Alt+OSwitch header / source
Alt+Shift+T / Ctrl+Shift+TGo to Symbol / Go to File
Alt+M (or Alt+Shift+M)Go to Symbol in File
Alt+Shift+VOverride virtual functions
Alt+Shift+DCreate implementation
Alt+Shift+RRename symbol
Alt+Shift+HCall hierarchy
Alt+Shift+EUnrealSense Problems window
Alt+clickClass hierarchy (Shift+click: free; both set in Tools › Options › UnrealSense › General › Mouse clicks)

Everything else is in the Quick Menu (Alt+Shift+Q, also Extensions › UnrealSense › Quick Menu).

Used to Visual Assist's keys? Extensions › UnrealSense › Import Shortcuts... (also shown at the very first start) gives our commands the keys of Visual Assist, or of Visual Studio + Visual Assist, or our defaults: tick the rows, Apply.

Install and update

From the Visual Studio Marketplace: Extensions › Manage Extensions, search UnrealSense, Install, then close Visual Studio to finish.

Manage Extensions in Visual Studio: searching UnrealSense on the Marketplace, with its Install button

Updates install when you close Visual Studio. UnrealSense also checks by itself (at startup and every hour): when a newer version is out, a window (or a bar, if Visual Studio is already open) offers Open Manage Extensions, Later or Skip this version, plus a Download the .vsix link. After an update, What's new in UnrealSense shows the changes once. Option: Updates.

Without the Marketplace: download UnrealSense-<version>.vsix from the releases, close Visual Studio and double-click it (if your Visual Studio is not listed, run Install-UnrealSense.ps1 next to it with PowerShell). For automatic updates add https://andreadecaro.github.io/Unreal-Sense/gallery/atom.xml under Tools › Options › Environment › Extensions, Additional Extension Galleries (replace the old https://assoandrea.github.io/... address if you had it).

License

UnrealSense is free. About every 12 hours it downloads a small signed public file (license-policy.json); the request carries nothing about you or your projects. It must succeed at least once every 48 hours, or the features turn off until it does (the bar has Check now). If a paid key is ever required, a bar will say so with the days left, and its Enter license key link is where the key goes.

A Visual Studio information bar: a license key is required, with the days left and the Enter license key link
This bar appears only if a key is ever needed: today UnrealSense is free.

First start

Open the project's solution, or its .uproject (Visual Studio 2026): UnrealSense finds the project and reads its C++ and Blueprints in a few seconds (longer the first time). View › Output › UnrealSense shows what it is doing. With a .slnx in Visual Studio 2026 a bar at the top suggests opening the .uproject instead: Close hides it for now, Don't show again for good.

The Output window on the UnrealSense pane: the version loaded, the project, the C++ index ready

Blueprints

Blueprint counters

A grey label next to reflected classes, functions and properties says how many Blueprints use them (12 derived Blueprints, 3 Blueprint usages), also through parent Blueprints or C++ subclasses ("via …"). Click it for the list. On properties there are two counters, 2 Blueprint usages - 3 Blueprint overrides: usages read or write it in graphs, overrides change its value in Class Defaults, levels or data assets.

A header with the grey labels 12 derived Blueprints next to the class and 3 Blueprint usages next to a function

Find usages in Blueprints

Caret on a class, function or property, Alt+Shift+B (or right-click › Find Blueprint Usages). For calls, events and variable get/set nodes, the Detail column says where the node is (EventGraph › Call Fire). Double-click a row to open the asset in the running Unreal Editor (the status bar repeats where to look); the toolbar has Show in Explorer and Copy reference.

For a property, the Value column shows the value each Blueprint gives it (600 (from BP_Base) when inherited, C++ default when unchanged), the values on placed actors in levels (3 actors: 600, 800, 1200, World Partition included) and in data assets. Hovering the property shows the first five values.

The Blueprint Usages window: three Blueprints that call a function, with asset, type, detail and package

Opening assets in the Unreal Editor uses its Python Remote Execution: the first time, UnrealSense offers to enable it in the project (restart the editor afterwards; files not checked out in Perforce are checked out by your source control extension, or made writable and listed). Without it, or with the editor closed, the file is shown in Explorer; Extensions › UnrealSense › Open Blueprints in Unreal Editor... asks again.

Search text inside Blueprints

Quick Menu › Search Text in Blueprints... finds any text in Blueprints and data assets: comments, pin values, variable defaults and tooltips, widget texts, DataTable rows, String Tables; with Names also variable, function, pin and tag names. Each result says where it is (EventGraph › Call PrintString › pin In String). Options: Match case, Whole word, All assets (textures, meshes, sounds...), Editor caches.

The Search in Blueprints window: a text found in a widget, a node pin, a comment box and a String Table

Writing code

Specifiers and hover info

Inside UPROPERTY(...), UFUNCTION(...), UCLASS(...) etc. the list offers the specifiers of your engine version with their explanation, and values too (project Category names, the function for ReplicatedUsing). Hover a specifier for its documentation, or a reflected name for its Blueprint usages.

Completion inside UPROPERTY: EditAnywhere, EditDefaultsOnly and the other Edit specifiers with an explanation
Two tool tips: the meaning of BlueprintReadWrite, and the Blueprints that derive from or reference a class

Hovering a variable also shows its initial value (the C++ default of a UPROPERTY) and its meta=(ToolTip).

The tooltip of a completion item shows its comments too: the one above the declaration and, for enum values and variables, the one written beside them.

Parameter Info and highlighted references

Typing ( or , in a call, or Ctrl+Shift+Space, shows the signatures with the parameter being typed in bold and its @param comment: every overload (Up/Down), constructors (FVector(double InX, ...)), macros (UE_LOG) and a delegate's Execute/Broadcast. With the caret on a name, every place in the file that names the same thing is highlighted (declarations, writes and reads each in its own colour).

Member completion (. and ->)

After . or -> the list shows the members of the class and its bases (engine included), on locals, parameters, this, call results and members. Inaccessible private/protected members have a padlock. On a raw pointer . becomes -> by itself; on TObjectPtr, TWeakObjectPtr, TSharedPtr... the list shows both the wrapper's members (Get, IsValid) and the pointed object's, and picking one of the latter writes ->. A member just added in a .h is listed in the .cpp before you save. In for (auto& Pair : Map) the list on Pair. offers Key and Value.

Completion after a dot on a TWeakObjectPtr: Get, IsValid, Reset and the members of the pointed component marked with an arrow

Name completion

Wherever you type a name the list shows, in order: locals and parameters, class members, the values of the expected enum (after case , State = , or as an enum argument), types/functions/variables/namespaces, macros, keywords.

  • After ::: the scope's names (EMyEnum::, Super::); in a .cpp, void AMyActor:: lists the functions to define.
  • Inside #include ": folders and headers.
  • After #if, #ifdef, #ifndef, #elif, #undef and in defined(: macros, with the value of build configuration ones (UE_BUILD_SHIPPING = 0, WITH_EDITOR = 1).
  • Inside a branch that is off in this build (the #else of #if WITH_EDITOR): the same lists as in an active branch.
  • On a dynamic delegate, . also offers AddDynamic, RemoveDynamic, IsAlreadyBound.
  • Inside UE_LOG(: the log categories (your module's first), then the verbosities.
  • Inside FindConsoleVariable(TEXT(": console variable names; hover one for its type, default and help.

Picking a name whose header the file does not see adds the #include ("GameFramework/Actor.h"); one Ctrl+Z removes both. In a header, a small list asks first: #include (Enter) or forward declaration (2); Esc adds nothing. An #include that would be an absolute path is only added if you confirm it. To never add one, turn off Code completion › Add missing #include. Ctrl+Space opens the list anywhere. In .Build.cs/.Target.cs files it completes module names.

Picking a function writes Name() with the caret inside and opens Parameter Info (option Code completion › Add () when completing a function).

The list keeps names that start with, contain or camel-hump what you typed (TTC → TimerToComplete). Turn on Code completion › Fuzzy completion to also keep names typed with typos (Tomertu → TimerToComplete). In a header, UP selects UPROPERTY first.

Typing UGameplaySt lists engine classes, a local and a parameter; picking the class adds its #include at the top

Log and on-screen message templates

At the start of a line type one of these and pick it from the list:

TypeYou get
uelog, uewarn, ueerrorUE_LOG(LogMyGame, Log, TEXT("Message"));
uelogfUE_LOG(LogMyGame, Log, TEXT("Message: %s"), *Value);
screenmsgif (GEngine) { GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Yellow, TEXT("Message")); }

After a value, .log, .warn, .error or .screen prints it with the right format: Health.log → UE_LOG(LogMyGame, Log, TEXT("Health = %f"), Health);. The category is one your module declares, else LogTemp. Tab / Shift+Tab move between the fields, Enter ends.

Loop and switch templates

After a value the list also offers the loops that fit its type:

TypeYou get
Targets.foreachfor (AActor* Actor : Targets) { }
Targets.for, Targets.forrfor (int32 Index = 0; Index < Targets.Num(); ++Index), or from the last to the first
Targets.foritfor (auto It = Targets.CreateIterator(); It; ++It) (remove with It.RemoveCurrent())
Node.whilewhile (Node) { }
State.switchswitch (State) with a case ...: break; for every value of the enum

In an existing switch, Quick Menu › Generate Missing Cases adds the values that have no case yet.

Constructor and member templates

In a class body, where you would declare a member, type one of these and pick it from the list:

TypeYou get
ctor constructorAMyActor();
ctor constructor (FObjectInitializer)AMyActor(const FObjectInitializer& ObjectInitializer);, to replace or skip the parent's default subobjects
ptrUPROPERTY() and TObjectPtr<UObject> Object;: type the class, Tab, type the name
softptrUPROPERTY() and TSoftObjectPtr<UObject> Object; (loaded only when you ask)

Only the constructors the class does not have yet are listed (the FObjectInitializer one in UCLASS classes only). Alt+Shift+D on the new line writes its body in the .cpp.

In a .cpp, outside every function (at file or namespace scope), two more declare a console variable:

TypeYou get
cvarstatic TAutoConsoleVariable<int32> CVarMyVariable(TEXT("Game.MyVariable"), 0, TEXT("Description"), ECVF_Default);: read it with CVarMyVariable.GetValueOnGameThread()
refCvarstatic int32 GMyVariable = 0; and an FAutoConsoleVariableRef bound to it: your code reads GMyVariable directly

Tab goes through type, name, console command, value, help and flags; the name typed once fills every copy. #include "HAL/IConsoleManager.h" is added when missing.

Your own templates

Extensions › UnrealSense › Code Templates... lists ours and yours. New or Duplicate (on one of ours) gives you a template to edit. Choose how you call it: a Shortcut you type on its own (mylog) or a Suffix after a value (Health.dbg); where it is offered (inside functions, inside classes, both, or outside functions) and in which files (.h, .cpp or both). Then write the code it writes: the buttons above the code add a Field you fill with Tab, the Caret at the end, the Log category and, for a suffix, The value and its Format for UE_LOG. A field written twice (TObjectPtr<$Type$> $Type$) is filled once: the other copy follows. The bottom of the window shows the result. Your templates come first in the list. Clear the box of one of ours to stop it being offered. Save keeps the changes; Export... writes your templates to a .ustemplates file and Import... adds the ones of a file a colleague sent you.

.ini, .uproject and .uplugin files

In .ini files the list completes [/Script/Module.Class] sections, the class's Config properties as keys, and their true/false or enum values; hover a key for its C++ declaration, F12 opens it. In .uproject/.uplugin it completes the descriptor fields, module types, loading phases, module and plugin names.

Warnings and quick fixes

Unreal mistakes are underlined before you compile (missing .generated.h or GENERATED_BODY(), wrong prefixes, missing _Implementation, UObject pointers without UPROPERTY...), plus certain C++ errors (const violations, unknown members, wrong argument count, inaccessible members, names declared nowhere, unbalanced brackets, a class without its ;, a type used without its #include) and warnings (if (A = B), UE_LOG with the wrong number of %). The light bulb applies the fix.

Also checked: an #include from a module your .Build.cs does not list (the fix adds it to the .Build.cs), an override of BeginPlay, Tick, EndPlay... that never calls Super::, a function bound to a delegate with the wrong signature or, with AddDynamic, without UFUNCTION, a replicated property missing from GetLifetimeReplicatedProps (the fix adds its DOREPLIFETIME), a log category nothing declares or defines, and a type a UPROPERTY or UFUNCTION cannot use (an enum or struct without UENUM/USTRUCT, TSharedPtr, std:: types, uint32 exposed to Blueprints...; the fix adds the macro or switches to the supported type).

Bind a function before writing it (OnClicked.AddDynamic(this, &UMyWidget::HandleClicked), AddUObject, SetTimer, BindAction...): the light bulb on its name offers Create 'HandleClicked' in UMyWidget (Alt+Shift+D runs it directly), which declares it in the class with the delegate's parameters (and UFUNCTION() for AddDynamic) and adds its empty body to the .cpp. It works with your own bind helpers too (template wrappers included: the signature is taken from the function they pass it to) and on any UMyWidget::Name or ThisClass::Name of a function that does not exist. When the signature cannot be found, the function is created as void Name() and a warning reminds you to add its parameters.

A raw AActor pointer underlined, with its explanation and the light bulb fixes: add UPROPERTY with TObjectPtr, or use TWeakObjectPtr

IntelliSense's false errors on Unreal code (a file it could not configure, an outdated .generated.h) are hidden; real errors stay. Option: IntelliSense errors in Unreal files.

Turn on Inspections › Compile the file on save to see the compiler's real errors (wrong conversions, no matching overload...) as squiggles right after saving, without building; the status bar shows the compile. The first save in a module can take up to a minute, the next ones a few seconds.

Problems window

Alt+Shift+E (or Extensions › UnrealSense › UnrealSense Problems) lists every error and warning, Errors and Warnings apart, by file:

  • Build (Visual Studio): what your build (F5, Build) printed, read while it builds: only real errors, not IntelliSense's.
  • UnrealSense: the warnings of open files, of files you closed since, and the compile on save. Analyze Project checks every C++ file of the project.

The list follows your edits: a file fixed outside Visual Studio or deleted updates by itself. Double-click opens the line. Fix: ... shows the change first (removed lines red, added green) and writes nothing until Apply: a missing #include, a module missing from the .Build.cs for a link error, and the fixes of the light bulb, which shows the same preview.

IntelliSense mode

Extensions › UnrealSense › IntelliSense Mode... chooses who provides C++ IntelliSense (applies after a restart):

  • Visual Studio's IntelliSense, UnrealSense alongside: nothing of Visual Studio's is changed.
  • Keep only Visual Studio's errors: Visual Studio keeps its red squiggles and Error List; colours, highlighting, Parameter Info and the completion list come from UnrealSense.
  • Turn Visual Studio's IntelliSense off (experimental): no Visual Studio C++ engine or database at all; everything comes from UnrealSense, including the navigation bar above the file and Peek Definition (Alt+F12). Errors come from the compile on save and, as you type, from UnrealSense's own checks: a definition its class does not declare, a return that does not fit the function, a value that cannot be converted (FString S = SomeName;, a pointer to an unrelated class), a name not declared where it is used. While the index is still building, the list shows the names of the open files.

Code colours

UnrealSense colours the project's C++ by itself: UObject types apart from value types, enums, functions, fields, locals, parameters, macros, reflection macros and their specifiers; members exposed to Blueprints in bold; a local holding a lambda (auto Apply = [..](..) { }) is coloured as a function. Code in an #if branch that is not compiled in this configuration (the #else of #if WITH_EDITOR) is faded, keeping its colours. Colours: Tools › Options › Environment › Fonts and Colors, entries UnrealSense - ….

A function coloured by UnrealSense, with a legend: UObject type, value type, function, field, local, parameter, macro, reflection macro, specifier

Go to definition

Ctrl+click, F12 or Alt+G (or the modifier chosen in Text Editor › General › Enable mouse click to perform Go to Definition): from a call to its implementation, from the implementation to the declaration and back, from a variable or type to its declaration, from an #include line to the header. On a BlueprintNativeEvent or RPC it goes to _Implementation/_Validate and back; on a macro (UE_LOG, your own) it opens its #define. Works on unsaved code; where UnrealSense knows nothing, Visual Studio's own runs. Visual Studio's own keys use UnrealSense too: Shift+F12 opens Find Usages, Ctrl+F12 goes to the declaration.

Ctrl+click on a call to StartFire opens its implementation in the other .cpp

Find a symbol or a file

Alt+Shift+T searches classes, functions, variables, macros... of the project, plugins and engine; initials are enough (GAL → GetActorLocation). Ctrl+Shift+T searches files (File.cpp:120 opens at line 120): all matches in alphabetical order, the best one selected. Alt+M searches the open file, locals included, grouped by kind (Group, Ctrl+G); the buttons under the search box show only functions, fields, locals... (Alt+1…9, Alt+0 for all). Ctrl+1…6 switch tab; the Text tab (Ctrl+5) finds text in the project's and the engine's files as you type; the Config tab (Ctrl+6) searches the text of the .ini files (project, plugins, engine): every word must be on the line, max walk finds MaxWalkSpeed=600. Words separated by spaces are searched separately; Fuzzy (Ctrl+F) also accepts scattered letters and typos. Scroll to the end of the list for more results. Go to Symbol also finds log categories and console variables by their console name (r.shadow).

The Go to Symbol window: typing GAL finds GetActorLocation and other functions, with their class and header

Find text in files

Quick Menu › Find in Files... searches text in the project, plugins and engine (AngelScript .as scripts included), the open documents or the current file, starting from the word at the caret: Match case, Whole word, Regex, and a file filter (*.h;*.cpp;!*.generated.h, or part of a file name: hor searches only HorrorCharacter.h/.cpp, hor;h only the header). Results appear as they are found, grouped by file; double-click opens the line. To have Ctrl+Shift+F open it, turn on the option Ctrl+Shift+F opens UnrealSense's Find in Files.

Find Usages

Right-click › Find Usages lists where a C++ class, function, variable or macro is used (project, plugins, engine), grouped by file, with the Blueprints at the bottom. Declarations, Calls, Reads, Writes filter the results; uses inside macros (UE_LOG, AddDynamic, ReplicatedUsing) are found too, and uses whose type is not certain are listed under Uncertain. The name's lines in the .ini files are listed apart, under Config (.ini) (a class also by its name without prefix, as config writes it: /Script/MyGame.MyActor), and its uses in the AngelScript .as scripts under Scripts (AngelScript): by symbol, as the scripts write it (Gameplay:: for UGameplayStatics, ActorLocation for GetActorLocation(), BeginPlay overrides for ReceiveBeginPlay), with the uses whose object type is not known under their own Uncertain. Find Usages also works in a .as file: on a C++ symbol it lists its C++, Blueprint and script uses, on a script class, function or variable its script uses. Double-click opens the line.

Writing AngelScript

.as files are coloured like C++ (types, functions, fields, enum values, locals). F12 or Ctrl+click opens the declaration: the script one, or the C++ one of a bound function, class or overridden event. Completion offers the object's members after . (including ActorLocation for GetActorLocation()), the statics and enum values after ::, and locals, members and types elsewhere. Shift+F12 opens Find Usages. Ctrl+K, Ctrl+C / Ctrl+K, Ctrl+U comment and uncomment the selected lines, and the matching bracket is highlighted. AngelScript support in the options turns this off.

What an #include is used for

Each #include line ends with how many times the file uses what that header brings in (9 uses). Click it to list those places; double-click one to go there. No use found marks an include the file does not seem to need.

Switch between .h and .cpp

Alt+O opens the matching file, following Public ⇄ Private (also in engine and plugin files).

Alt+O switches between Public/UI/MainMenu.h and Private/UI/MainMenu.cpp

Class hierarchy, base function and overrides

Alt+click a class (or caret on it › Quick Menu › Class Hierarchy...): its bases and its derived classes as a tree; click to open. On a virtual function or event, Base and Overrides of X... lists the base versions and the overrides in subclasses, also the Blueprints implementing an event.

The Class Hierarchy drop-down of AMyCharacter: its base classes up to UObject and its derived classes as a tree
The Base and Overrides drop-down of BeginPlay: the base functions up to AActor::BeginPlay, marked origin, and the overrides in subclasses

Call hierarchy

Caret on a function, Alt+Shift+H (or right-click › Call Hierarchy...): who calls it, each caller expandable to its own callers. Blueprints calling a UFUNCTION are listed too (double-click opens them in the Unreal Editor). Calls from shows what the function calls instead. Double-click a row to go to the call.

Unreal Explorer

Extensions › UnrealSense › Unreal Explorer (or View › Other Windows): modules (with .Build.cs, dependencies and reflected types), plugins, Blueprints by C++ parent class and config files, with search. Double-click opens the file.

The Unreal Explorer window: modules, plugins, Blueprints by C++ parent and config, with a search box

Open files by group

Off by default: Extensions › UnrealSense › Group Open Files turns it on (and off). Then Extensions › UnrealSense › Open Files lists the open files in Project and Engine (and Other for files outside both). New Group makes your own groups: drag a file onto one, or right-click it (or its document tab › Move to File Group...). A file stays in its group when you close and reopen it. Right-click a group to rename, reorder or delete it, or close all its files. Right-click a file for what its tab offers too: save, close the others, pin, float, document groups, copy its path, Perforce. Middle-click closes it.

Tools › Options › UnrealSense › Open Files › Group open files chooses how: Off (default), Panel (the window), Visual Studio tab groups (the tabs go side by side: project files, engine files, then each of your groups), or Both. Hide Visual Studio's document tabs leaves only the Open Files window as the list of open files.

Launch presets

The Launch Preset box on the Standard toolbar (next to Start) picks the arguments F5 / Ctrl+F5 start the game with: -game -log, a windowed size, a server... (Visual Studio default) keeps Visual Studio's own. Edit Presets... (last entry of the box, the button next to it, or Extensions › UnrealSense › Launch Presets...) creates, renames, reorders and edits them; the buttons under the arguments insert the common ones. The .uproject is added for you. It works with a solution and with a .uproject opened directly. Presets are yours only, per project, and travel with Export/Import Settings.

Generating code

Quick Menu

Alt+Shift+Q opens, where the mouse is, the code commands that make sense at the caret. Type to filter, Enter to run. Suggested comes first: the fix of the error or warning at the caret (or on its line), then the obvious next step (Create Implementation on a declaration without a body, Introduce Variable on a selected expression...), so Alt+Shift+Q, Enter applies it. Windows, settings and the index are in Extensions › UnrealSense. When a command cannot do what you asked, a small popup under the caret says why (Esc or a click closes it).

The Quick Menu next to the caret: At caret StartFire, a filter box, Create Implementation suggested first, then the commands grouped into Search and Code with their shortcuts

Override virtual functions

Caret inside a class, Alt+Shift+V (or the light bulb on the class name): tick the inherited virtual functions to declare them in the .h and define them (calling Super::) in the .cpp.

The Override Virtual Functions dialog: the virtual functions of ACharacter, APawn and AActor with checkboxes

Create implementation

Caret on a declaration in the .h, Alt+Shift+D (or the light bulb): the body goes into the .cpp next to its neighbours. RPCs and BlueprintNativeEvents get _Implementation (and _Validate with WithValidation); overrides call Super:: when a parent implements it. In the .cpp, on a function bound with AddUObject, AddDynamic, SetTimer... that does not exist yet, Alt+Shift+D declares and defines it.

On a Server RPC declaration, Create implementation writes ServerFire_Implementation and ServerFire_Validate in the .cpp

Generate getters/setters and constructor

Caret in a class of a header › right-click (or the Quick Menu, or the light bulb on the class name) › Generate Getters/Setters...: tick the members, choose inline in the .h or declared there and defined in the .cpp. Unreal names and types: bDead gives IsDead()/SetDead(bool), a TObjectPtr<T> is returned as T*, FString and containers as const&. Members that already have them are not listed.

Generate Constructor declares the constructor if the class has none and fills its body in the .cpp: tick enabled when the class overrides Tick, and CreateDefaultSubobject for each component UPROPERTY (the first one becomes the root, the others attach to it), with their #includes. Run it again after adding components: only what is missing is added.

Declare a delegate

Caret in a header › Quick Menu › Declare Delegate...: choose kind, name, return type and parameters with a live preview; Create writes the DECLARE_..._DELEGATE macro and the member, Copy puts it on the clipboard. Usage example shows how to bind and call it. Type names are completed as you type them.

The Declare Delegate dialog set to Dynamic Multicast with two parameters and the preview of the macro and the member

Add an #include or a forward declaration

Caret on a name or a macro › Quick Menu › Add #include (the header written as Unreal does) or, in a header, Add Forward Declaration (class UMyComponent;).

A header where Add #include inserted an include before the .generated.h and Add Forward Declaration wrote a class declaration

New Unreal class

Solution Explorer › right-click › Add › Unreal Class... (or the Unreal Explorer's New class): name, parent class (Common or All Classes) and folder, in any module. The files are written like the Unreal Editor's, added to the project and opened; a missing module dependency can be added to the .Build.cs. Includes stay red until Generate Project Files. With a .uproject opened instead of a solution (Quick Menu › New Unreal Class...) the files are only created and opened: nothing to regenerate.

The ... button next to the path opens a folder tree that also shows each folder's files. New Folder (Ctrl+Shift+N) adds a sub-folder there: it is created when you press OK in New Unreal Class (under both Public and Private for a Public class), and nothing is created if you cancel.

The base folder starts on Public. Add Interface... picks interfaces (UINTERFACE) for the new class to implement: each adds , public IName and its #include. The dialog can be resized to see more parent classes.

The New Unreal Class dialog: Actor chosen among the common parent classes, the class name, Public or Private, and the path

Rename a symbol

Caret on a function, variable, local, class or struct, Alt+Shift+R: type the new name, pick the options, then Preview... shows every change with a checkbox; Apply writes them. Overrides and _Implementation/_Validate are renamed too. For Blueprint-visible symbols, tick Add a CoreRedirect so saved assets keep working. Open files can be undone with Ctrl+Z; read-only (Perforce) files are checked out by your source control extension (Perforce Auto-Checkout, P4VS) when one is active, otherwise made writable and listed at the end for check-out. Symbols of the engine or of a plugin can be renamed too: the dialog warns which files outside the project will change.

Change a function's signature

Caret on a function, right-click › Change Signature... (or the Quick Menu): change the return type, add, remove, rename or reorder the parameters (arrows), edit their types and default values (type names are completed as you type; Ctrl+Space shows the list). A new parameter takes the value the existing calls should pass. Preview lists every declaration, definition and call it changes, overrides and _Implementation/_Validate included; renamed parameters are renamed inside the function body too. Places it cannot change (a delegate binding such as AddDynamic, a removed parameter still used) are listed at the top.

Introduce a variable or extract a function

Select an expression (or put the caret on a call) and pick Introduce Variable in the right-click menu, the Quick Menu or the light bulb: GetOwner() becomes AActor* Owner = GetOwner(); on the line before, with the type and a name filled in and selected for a rename. If the same expression appears again in the function, you can replace all of them.

In a .cpp, select whole statements and pick Extract Method...: type the name, check the signature, Extract. The statements move to a new function (declared in the class's header when it is a member) and are replaced by a call; the variables they need become parameters, the one they produce becomes the return value. Ctrl+Z undoes it.

Sort members

In a header, right-click › Sort Members... (or the Quick Menu): methods or properties first, then as declared, alphabetical or by size (fields with less padding), inside each public/protected/private section. Select some members first to sort only those. Comments above a member move with it. Options: a blank line between members (on by default), merge repeated sections, reorder the .cpp to match, sort the #include lines. Ctrl+Z undoes it.

Sort #includes

In a .h or .cpp, right-click › Sort #includes (or the Quick Menu): the #include lines in alphabetical order, group by group (blank lines and #if blocks keep their groups). The .cpp's own header, CoreMinimal.h and the .generated.h keep their places.

Remove Unused #includes

In a .h or .cpp, right-click › Remove Unused #includes... (or the Quick Menu): the #include lines that can go are ticked, the others are greyed out with the reason they stay. Press Remove; Ctrl+Z undoes it. On an #include whose hint says no use found, the light bulb (Ctrl+.) offers Remove unused #include when it is safe. Build once afterwards: other configurations (#if blocks) are not checked.

Perforce

Off by default. Turn it on with Extensions › UnrealSense › Perforce Auto-Checkout (ticked while on; the same switch is in the settings, Perforce section). When you open a solution in a Perforce workspace, UnrealSense becomes the source control provider (in place of Git): no setup, the workspace is found from the file's path.

  • Edit a read-only file: a dialog asks where to check it out: default, an existing changelist, a New changelist... (write its description), Make writable only or Cancel (you keep editing in memory; saving asks again). Tick Use this changelist without asking... to skip the dialog for the rest of the session.
  • UnrealSense Perforce toolbar and right-click on a document tab or on files in Solution Explorer: Checkout, Add, Revert (asks first), Diff (with the depot revision), Diff (P4V), Timelapse.
  • Reconcile (toolbar): lists the project's text files (.h, .cpp, .as, .cs, .ini...) changed, added or deleted outside Perforce, never the assets; Content folders only with the option Reconcile text files in Content. Uncheck what to leave alone, pick the changelist, press Reconcile.
  • New files (Add New Item...) are offered for add with the same changelist choice. In New Unreal Class the Changelist drop-down picks it directly (or Don't add to Perforce): OK opens the .h/.cpp for add there.
  • Ticket expired: type the password in the login dialog. Server unreachable: Make writable only.
  • Every p4 command is listed in Output › UnrealSense Perforce.

If you used the separate Perforce Auto-Checkout extension, uninstall it.

Settings

Tools › Options › UnrealSense (in Visual Studio 2026: All Settings › UnrealSense). Every feature can be turned off there. The ones you may want to change:

The UnrealSense page of Tools, Options in Visual Studio 2022, with its categories and values
Unreal projectOnly if UnrealSense picks the wrong project in a solution with several.
Show hints for unused Blueprint APIAlso labels reflected members no Blueprint uses.
UI themeUnreal (default, Unreal Editor look) or Classic (Visual Studio colours).
Inspections sectionEach group of warnings (Unreal, TObjectPtr suggestion, C++ checks, C++ warnings, Error List) can be turned off.
Include engine symbols and filesOff, Go to Symbol/File search only the project.
Show UHT-generated referencesOff by default; on, Find Usages also lists .gen.cpp/.generated.h.
Don't wait for Visual Studio's C++ listOn by default, so the completion list opens without waiting for IntelliSense.
Fuzzy completionOff by default; on, the completion list also keeps names typed with typos.
Parameter Info, Quick Info, Highlight references at the caretOn by default.
Compile the file on saveOff by default (on with the IntelliSense mode Turn Visual Studio's IntelliSense off).
Use the own C++ index, Index the whole engineOn by default. The index runs as usindex in Task Manager (about 0.3 GB for a Lyra-sized project, about 3.5 GB with the whole engine); turning the index off also turns off completion and Find Usages.

Bring your settings to another PC: Extensions › UnrealSense › Export Settings... saves the options, your keys, your code templates, your launch presets and the colours you changed to a .ussettings file. On the other PC (or in the other Visual Studio), Import Settings..., pick the file, untick what you do not want, Import. Files from older or newer versions work too. Your previous settings are saved first in %LOCALAPPDATA%\UnrealSense\Settings: import that file to go back.

If something goes wrong

Report problems at github.com/AndreaDecaro/Unreal-Sense/issues, with the log if you can (it contains your project paths: check it first).

  • No counters: wait a few seconds; after saving Blueprints, Extensions › UnrealSense › Rebuild UnrealSense Index.
  • A shortcut does nothing: another extension uses it; the KeyBindingCheck: log line says which. Import Shortcuts... › UnrealSense defaults puts ours back, or change it in Tools › Options › Environment › Keyboard (search UnrealSense.).
  • Nothing happens in some files: UnrealSense works on the open solution's project only (another checkout or game is left alone); in a solution with several games pick one in Unreal project.
  • All features off, with a bar about the license check: the license file was unreachable for 48 hours; check the network or proxy and press Check now.
  • Find All References stopped working: run Extensions › UnrealSense › Restore Visual Studio Indexing if shown, then restart.
  • Logs: %LOCALAPPDATA%\UnrealSense\Logs, one UnrealSense_<date>_<time>_pid<id>.log per session (last five kept). For freezes or crashes also attach the Hangs_...log of the same session.
The UnrealSense Logs folder: the log and the hang log of the same session, and older sessions