Hi,
since I’ve updated from ECS 1.0.8 to 1.0.10 I get this weird behavior where when I have a prefab with the following hierarchy:
- Tree (has an EntityLinkGroup)
– Bush
– Trunk
and I instantiate it with ecb.Instantiate(prefabEntity), the object will be placed like this:
- Tree
- Bush
- Trunk
The children are flattened are are just spawned in the scene. They also don’t have a “Parent” component on them.
I only notice this on some of my prefabs, but can’t seem to figure out what the issue is. Even with newly created ones I get the same issue.
If I drag them manually in the scene they work correctly. Just using the Instantiate screws up the hierarchy.
You can see this in the image attached.
Issue is, that when the root entity is moved, the supposed-to-be-children don’t move with it.
Is that a current issue? Anything that has changed that we should be aware of?
