Skip to main content

Developer Subsystem

Base:
UTickableWorldSubsystem
Type:
UNGuardianSubsystem
Header File:
NexusGuardian/Public/NGuardianSubsystem.h

A developer-focused subsystem to help monitor specific metrics related to UObject usage.

Snapshots​

Over the course of a game's development, there comes a point where you start to wonder, do I have a leak? While there are many great tools included with the Unreal Engine — we are looking at you Insights! Sometimes you just want to go old-school and printf everything to a log. We have you covered!

tip

While the UNGuardianSubsystem provides an automatic monitoring solution, you can manually use N.Developer.CacheSnapshot and N.Developer.CompareSnapshot console commands to create your own diffs! Check out the other console commands!

Setting A Baseline​

The automated system requires a baseline point to be effective in its calculations. Mainly because there is going to be a period where you are creating numerous UObjects, and you don't want the system to consider those objects in its calculation. So when you are ready for it to start watching, call the SetBaseline() command.