"Instanced Objects" in Blueprints

This feature is present in release v30 onwards.

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.

The 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.

Last updated

Was this helpful?