I have a huge problem here with my game crashing opun loading a scene. I’m trying to figure out how to fix it by using Debug.log but it seems that it is very late when coming to loading levels. The debug fires only when the level is LOADED not before it starts loading.
Here’s my code:
if(loadingMap == true)
{
if(animated.TransitionDarkener.isPlaying == false)
{
Debug.Log("This doesnt show up untill the level already is loaded");
Global.playingMap = maps[currentMap].LoadScene;
Application.LoadLevel(maps[currentMap].LoadScene);
}
}
Is there any way to send messages to me WHILST unity is loading