Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Context Manager object is destroyed #530

Closed
mtschoen-unity opened this issue Feb 22, 2019 · 0 comments
Closed

Context Manager object is destroyed #530

mtschoen-unity opened this issue Feb 22, 2019 · 0 comments
Milestone

Comments

@mtschoen-unity
Copy link
Collaborator

During the course of using EditorXR (opening/closing VRView and entering/exiting Play Mode), any object with an EditingContextManager component in an open scene may be unintentionally destroyed. It appears to be caused by the EditorXR lifecycle, in that it will create its own version of this object at edit time and then destroy it.

This can result in confusing situations like entering Play Mode or building a Player and not having EditorXR functionality when you expect to have it. For now, make sure that you attach the EditingContextManager component to an empty object that is easy to recover.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant