So I have a parent object with several children objects (the parent object is not part of a family).
When I create the first parent object, I tick the hierarchy checkbox and it is correctly created with all children objects.
In the game I need to create this parent object over and over again. The behavior I want is that each time I create a parent, it will be created with its own set of children, independently of any other instances of the same parent object and their children.
However, when I call the create object action at runtime and create another instance of the parent object, it is created with its children (as intended) AND children from all previously created instances of the same parent object are transferred to the new parent object that was just created... (not intended).
Any idea why this happens or how to solve this?
Thanks!