Quantcast
Channel: Questions in topic: "loadleveladditive"
Viewing all articles
Browse latest Browse all 102

Intermittent crash on LoadLevelAdditive, and LoadLevelAdditiveAsync

$
0
0
I am experiencing an intermittent crash when loading certain levels in my project. It happens during an additive load, and I have reproduced it using both LoadLevelAdditive, and LoadLevelAdditiveAsync. My logs indicate that during at least one of the asynchronous loads, it happened at about 27% of the way through the loading process. In one case, the game crashed during a load where I assigned the LoadLevelAdditiveAsync method call to an AsyncOperation, and set that AsyncOperation's allowSceneActivation variable to false. Because of this, and because of the fact that the crash also happens when using LoadLevelAdditive, I am fairly certain that none of the code in any of the scripts in the scene that I am loading can be causing the crash, since in theory none of it should have been able to execute at the time when the crash happened. Also, I placed debug statements in the Awake() methods of every script that I had written for that scene, and none of them fired before the crash happened. Sometimes the game crashes on the first load of one of these scenes, but sometimes it takes more than 15 attempts to reproduce. Only scenes associated with one particular minigame within a much larger project cause the crash. The game never crashes or even throws an error in editor, only when built to a windows desktop app. [This is the output log from the most recent crash][1] Thanks in advance for any help. [1]: /storage/temp/54464-output-log.txt

Viewing all articles
Browse latest Browse all 102

Trending Articles