I just ran into a sort of odd result…
I have an monobehaviour that digs for a parent on Awake. The hierarchy looks like this:
RootThing
- Prefab
— MyMonoBehaviour (NOT PREFAB - this is an additional component added to the prefab instance)
I’m seeing a weird behaviour where on Awake in MyMonoBehaviour I can’t get to RootThing by walking transform parents.
If I click on Prefab and ‘break prefab connection’ - i can properly walk to parent.
I can work around this - but I’m wondering what exactly is going on here and if there is any documentation outlining this kind of thing?