Scene A:
--> Object AA:
-------> Disabled in the scene
-------> Has a GuidComponent
Scene B:
--> Object BB:
------> Has a GuidReference pointing to AA
------> Has a MonoBehaviour CC that will run guidReference.gameObject.SetActive(true);
Load scene A first, then load scene B and try to run CC.
This will fail because AA will not have registered with the GuidManager.
Expected Behaviour: If scene A is loaded, GuidReferences to any objects in that scene can be dereferenced.
Scene
A:--> Object
AA:-------> Disabled in the scene
-------> Has a GuidComponent
Scene
B:--> Object
BB:------> Has a GuidReference pointing to
AA------> Has a MonoBehaviour
CCthat will runguidReference.gameObject.SetActive(true);Load scene A first, then load scene B and try to run CC.
This will fail because AA will not have registered with the GuidManager.
Expected Behaviour: If scene A is loaded, GuidReferences to any objects in that scene can be dereferenced.