/Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectBaseUtility.h
Add an object to the root set. This prevents the object and all its descendants from being deleted during garbage collection.
void AddToRoot()