Duplicate Objects
Last updated
Last updated
This feature is present in release v30 onwards.
We have added a Duplicate Object
helper function, exposing a feature typically hidden from Blueprints. Given a source object, you can perform a deep copy of it (including its subobjects), and provide this created copy an outer of your choice.
This can be useful for e.g. making an instance of a data asset and give it an in-world context. Any of its "instanced properties" ("Instanced Objects" in Blueprints) typically would not have the relevant world context, and should be treated as read-only. Duplicating it, and giving it an outer, will mean that you have a local copy of those instanced objects, that will be able to call methods that require the world context (see Objects with "world context"), and you will be able to modify the properties without affecting the original data asset.