I'm making a PC game where I need to change some scenes from time to time. I use simple lines like
SceneManagement.SceneManager.LoadScene ("menu");
But after doing some scene changes the game crashes(the freezing "not responding" type of thing) on a lot of computers. I tried adding *SceneManagement.LoadSceneMode.Single*, or even *SceneManager.UnloadSceneAsync(UIManager.Instance.currentScene);*, but none of these worked. Any help please?
↧