- Home /
Delay when loading new level :(
So, what i'm trying to do is that i have a menu system, and when i press play it loads up the "main" level, but it has a delay. And the people playing might think that it crashed or that he missed the button and clicks again. I do not want this to happen. Why is it doing this? The main level should not be heavy for a computer at all... So i can't understand why it adds this delay. Any suggestions? (I'm pretty sure it has nothing to do with my script so i wont post them here unless someone wants me too)
Answer by Halfbiscuit · May 18, 2015 at 11:26 AM
It is loading the scene, this delay cannot be avoided. I would suggest having a loading screen displayed while this is happening. You can also have a loading bar update while loading using this.
I guess i'll just have to add a "press spacebar to start" when the laoding is done, so the player wont be surprised when it's starting.
I believe it did require unity pro but with Unity 5 it does not. (all engine features are included) But yeah a "space to start" image will do the job of telling them when it is loaded.
With my loading screen I display the bar fully loaded for a small time before displaying the next level.
As a side note make sure you call DontDestroyOnLoad on the loading image so it doesn't disappear when the level is loaded.