Trash components in construction script

Found a solution!

EComponentCreationMethod::UserConstructionScript is actually not working as I anticipated. It seems that all UCS created components get killed before a new call to UCS.

But as my instanciation is protected from undesired bahaviour, I can of course do it in the UCS now with

EComponentCreationMethod::Instance

and the components stay instanced in editor.

1 Like