"Instanced Objects" in Blueprints
If a UObject property is marked as "instanced", then it will allow you to create the subobjects within the defaults of a class, which is useful for making data driven systems and config assets.

Example Setting is an instanced variable, allowing us to provide a BP Example Skin Setting, and assign its properties' values in-line inside the data asset.This is a feature that is not exposed to BP in native Unreal, but we have added some helpers to support this.
First is the M2_InstancedObject class. This is a simple UObject, but defaults to instanced, with inlined properties. This means that if you make a class that is a child of this, you can mark it as "instanced"
To mark a M2_InstancedObject subclass property, go to the Details panel, and expand the Advanced section. Check the Instanced checkbox, and recompile. You will then be able provide an instanced object in the default value.

NOTE: If the Instanced property is not visible, it could be that the variable class is not an M2_InstancedObject - not all classes can be marked as instanced.
Last updated
Was this helpful?

