We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I found a bug, when you replay game in editor without "Reload Domain" option , there is no context observers in DontDestroyOnLoad
Inspector, after reload domain (any change in code)
Inspector, if code the same, but starts game once more time
If create observers manually, entities is duping , and can't collapse observers in inspector First time: Second: Third:
etc
The text was updated successfully, but these errors were encountered:
Resetting Context in Start Worked for me.
_contexts = Contexts.sharedInstance; _contexts.Reset();
another solution is creating a new Context in Start
Sorry, something went wrong.
potential duplicate #967
The reason is because turn off"Reload domain" would not reset those static fields. Add this code somewhere should fix this problem.
[InitializeOnEnterPlayMode] public static void ReloadContext() { Contexts.sharedInstance = null; }
or @sschmid have time to modify generator generate this one in context. I would like to help but have no idea howto..
No branches or pull requests
Hi,
I found a bug, when you replay game in editor without "Reload Domain" option , there is no context observers in DontDestroyOnLoad
Inspector, after reload domain (any change in code)
Inspector, if code the same, but starts game once more time
If create observers manually, entities is duping , and can't collapse observers in inspector
First time:
Second:
Third:
etc
The text was updated successfully, but these errors were encountered: