Quantcast
Channel: Questions in topic: "crash"
Viewing all articles
Browse latest Browse all 2383

Changing scenes crashes the game

$
0
0
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?

Viewing all articles
Browse latest Browse all 2383

Trending Articles