# RF\_Standalone: What specifically does it do?

**URL:** <https://forums.unrealengine.com/t/rf_standalone-what-specifically-does-it-do/116146>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [September 11, 2018, 7:18am UTC](https://forums.unrealengine.com/t/rf_standalone-what-specifically-does-it-do/116146 "2018-09-11T07:18:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dgiangrave](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dgiangrave](https://forums.unrealengine.com/u/dgiangrave)\
**Post date:** [September 11, 2018, 7:18am UTC](https://forums.unrealengine.com/t/rf_standalone-what-specifically-does-it-do/116146/1 "2018-09-11T07:18:36Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![birdfreeyahoo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@birdfreeyahoo](https://forums.unrealengine.com/u/birdfreeyahoo)\
**Post date:** [September 21, 2018, 10:19pm UTC](https://forums.unrealengine.com/t/rf_standalone-what-specifically-does-it-do/116146/2 "2018-09-21T22:19:07Z")

</div>

The documentation says the following:

| _RF\_Standalone_ | `0x00000002` | The Object is kept around for editing even if is not referenced by anything. |

Seems to work similar to RF\_RootSet.

I also found code which marks objects to be root when they have a standalone tag.
