You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm getting this warning message in the console for no significant reason: "Failed to remove SceneContext from SceneContextRegistry"
To Reproduce
Add this static class to a project to unload a scene in case when the projected is started from the wrong scene:
public static class StartSceneController
{
[RuntimeInitializeOnLoadMethod]
private static void onAppLoaded()
{
Scene scene = SceneManager.GetActiveScene();
if (scene.buildIndex != 0)
SceneManager.LoadScene(0);
}
}
Expected behavior
No warnings in the console.
Extenject and Unity info (please complete the following information):
Describe the bug
I'm getting this warning message in the console for no significant reason: "Failed to remove SceneContext from SceneContextRegistry"
To Reproduce
Add this static class to a project to unload a scene in case when the projected is started from the wrong scene:
Expected behavior
No warnings in the console.
Extenject and Unity info (please complete the following information):
The text was updated successfully, but these errors were encountered: