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+Q | Quick Menu: every command, filtered for where the caret is |
| Alt+Shift+B | Find Blueprint Usages |
| Ctrl+click, F12, Alt+G | Go to definition |
| Shift+F12 / Ctrl+F12 | Find Usages / Go to declaration |
| Ctrl+Shift+Space | Parameter Info |
| Alt+O | Switch header / source |
| Alt+Shift+T / Ctrl+Shift+T | Go to Symbol / Go to File |
| Alt+M (or Alt+Shift+M) | Go to Symbol in File |
| Alt+Shift+V | Override virtual functions |
| Alt+Shift+D | Create implementation |
| Alt+Shift+R | Rename symbol |
| Alt+Shift+H | Call hierarchy |
| Alt+Shift+E | UnrealSense Problems window |
| Alt+click | Class hierarchy (Shift+click: free; both set in ) |
Everything else is in the Quick Menu (Alt+Shift+Q, also ).
Used to Visual Assist's keys? (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: , search , , then close Visual Studio to finish.
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 , or , plus a link. After an update, 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
, 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 ). If a paid key is ever required, a
bar will say so with the days left, and its link is where the key goes.
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). 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.
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.
Find usages in Blueprints
Caret on a class, function or property, Alt+Shift+B (or right-click ›
). 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
and .
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.
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; asks again.
Search text inside 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.
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.
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.
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,#undefand indefined(: 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
#elseof#if WITH_EDITOR): the same lists as in an active branch. - On a dynamic delegate,
.also offersAddDynamic,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.
Log and on-screen message templates
At the start of a line type one of these and pick it from the list:
| Type | You get |
|---|---|
uelog, uewarn, ueerror | UE_LOG(LogMyGame, Log, TEXT("Message")); |
uelogf | UE_LOG(LogMyGame, Log, TEXT("Message: %s"), *Value); |
screenmsg | if (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:
| Type | You get |
|---|---|
Targets.foreach | for (AActor* Actor : Targets) { } |
Targets.for, Targets.forr | for (int32 Index = 0; Index < Targets.Num(); ++Index), or from the last to the first |
Targets.forit | for (auto It = Targets.CreateIterator(); It; ++It) (remove with It.RemoveCurrent()) |
Node.while | while (Node) { } |
State.switch | switch (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:
| Type | You get |
|---|---|
ctor constructor | AMyActor(); |
ctor constructor (FObjectInitializer) | AMyActor(const FObjectInitializer& ObjectInitializer);, to replace or skip the parent's default subobjects |
ptr | UPROPERTY() and TObjectPtr<UObject> Object;: type the class, Tab, type the name |
softptr | UPROPERTY() 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:
| Type | You get |
|---|---|
cvar | static TAutoConsoleVariable<int32> CVarMyVariable(TEXT("Game.MyVariable"), 0, TEXT("Description"), ECVF_Default);: read it with CVarMyVariable.GetValueOnGameThread() |
refCvar | static 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.
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 ) 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
returnthat 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: , entries
UnrealSense - ….
Navigation
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.
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).
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 › 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).
Class hierarchy, base function and overrides
Alt+click a class (or caret on it › Quick Menu › ): its bases and its derived classes as a tree; click to open. On a virtual function or event, lists the base versions and the overrides in subclasses, also the Blueprints implementing an event.
Call hierarchy
Caret on a function, Alt+Shift+H (or right-click ›
): 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
(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.
Open files by group
Off by default: turns it on (and off). Then 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 › ). 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.
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 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... keeps Visual Studio's own.
(last entry of the box, the button next to it, or
) 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
.
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 . When a command cannot do what you asked, a small popup under the caret says why (Esc or a click closes it).
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.
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.
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) ›
: 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.
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 › : choose kind, name, return type and
parameters with a live preview; writes the DECLARE_..._DELEGATE
macro and the member, puts it on the clipboard. Usage example shows how to
bind and call it. Type names are completed as you type them.
Add an #include or a forward declaration
Caret on a name or a macro › Quick Menu › (the header written as Unreal does) or, in a
header, (class UMyComponent;).
New Unreal class
Solution Explorer › right-click › (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 › ) 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.
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 › (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 › (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 › (or the
Quick Menu): the #include lines that can go are ticked, the others are greyed out with the reason they
stay. Press ; Ctrl+Z undoes it. On an #include whose hint says
no use found, the light bulb (Ctrl+.) offers when
it is safe. Build once afterwards: other configurations (#if blocks) are not checked.
Perforce
Off by default. Turn it on with (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;Contentfolders 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/.cppfor add there. - Ticket expired: type the password in the login dialog. Server unreachable: Make writable only.
- Every p4 command is listed in .
If you used the separate Perforce Auto-Checkout extension, uninstall it.
Settings
(in Visual Studio 2026: ). Every feature can be turned off there. The ones you may want to change:
| Unreal project | Only if UnrealSense picks the wrong project in a solution with several. |
| Show hints for unused Blueprint API | Also labels reflected members no Blueprint uses. |
| UI theme | Unreal (default, Unreal Editor look) or Classic (Visual Studio colours). |
| Inspections section | Each group of warnings (Unreal, TObjectPtr suggestion, C++ checks, C++ warnings, Error List) can be turned off. |
| Include engine symbols and files | Off, Go to Symbol/File search only the project. |
| Show UHT-generated references | Off by default; on, Find Usages also lists .gen.cpp/.generated.h. |
| Don't wait for Visual Studio's C++ list | On by default, so the completion list opens without waiting for IntelliSense. |
| Fuzzy completion | Off by default; on, the completion list also keeps names typed with typos. |
| Parameter Info, Quick Info, Highlight references at the caret | On by default. |
| Compile the file on save | Off by default (on with the IntelliSense mode Turn Visual Studio's IntelliSense off). |
| Use the own C++ index, Index the whole engine | On 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:
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, .
- 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 (searchUnrealSense.). - 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 .
- Find All References stopped working: run if shown, then restart.
- Logs:
%LOCALAPPDATA%\UnrealSense\Logs, oneUnrealSense_<date>_<time>_pid<id>.logper session (last five kept). For freezes or crashes also attach theHangs_...logof the same session.