New Low-Level UE4 C++ Memory Management Tool For The Community!
Dear Community,
I’ve just released a new wiki that shows you how you can count references to any AActor/UObject yourself!
You can also get an Object list of exactly who is referring to your UObject!
The code is quite simple, and I am using built-in runtime engine tools.
Garbage Collection ~ Count References to Any Object
Enjoy!
Sample output:
TArray<UObject*> Referencers;
GetObjReferenceCount(this,&Referencers);
for(UObject* Each : Referencers)
{
if(Each)
{
UE_LOG(YourLog,Warning,TEXT("%s"), *Each->GetName());
}
}