Skip to content

GuidReference cannot be resolved if GuidComponent is disabled in its scene #18

Description

@bschug

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions