Skip to content

Suggestion: Support serializing a direct LifetimeScope reference in ParentReference in addition to the current type-based reference. #865

Description

@dimbodek

The serialized object reference would be used at runtime to resolve the exact parent instance, while Type could remain as an editor-time validation/fallback mechanism. This would make parent resolution deterministic, especially when multiple instances of the same scope type exist across additive scenes and Unity's FindAnyObjectByType does not guarantee which instance is returned.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions