Here is what I’m trying to achieve:
Parent
Component < Replace with another Component (subclass of USceneComponent)
Child1
Child2
What is the correct way to destroy the old component, and create a new one with the same name?
Here is what I’m trying to achieve:
Parent
Component < Replace with another Component (subclass of USceneComponent)
Child1
Child2
What is the correct way to destroy the old component, and create a new one with the same name?
So far, I’ve tried:
All of the above crashed (fatal log: “Objects have the same fully qualified name but different paths” (UObjectGlobals.cpp, line 3401)).
To me, it looks like destroying the component does not free up its name. If so, how can I free the name up?