I added the RF_Standalone EObjectFlags to one of my objects created with NewObject. Does this mean that it will always exist until manually destroyed, or will only exist until the parent class is destroyed. It sounds like the first option, but what makes this any different than RT_RootSet which just avoids garbage collection on the object.
To add context to what I’m working on, I’m making a TArray that is a UProperty of a UClass. The containing class is being stored in a static variable of another class, so upon creation I can’t set the NewObject outer class to protect garbage collection. This causes Unreal to garbage collect the TArray’s objects, everything else in the class is fine. The only thing I could find would be to set one of the object tags to protect the TArray objects from the GC, but I don’t want to unnecessarily root set something if I don’t have to.