Script fires while Unity splash screen is displayed. Is this a bug?

Unity version: 5.1.1f1

First scene in the game is just an image. After 3 seconds, Main Menu scene is loaded. To achieve this, I have tried various things IEnumerator, Invoke(method,3) and using empty game objects so Application.Loadlevel can be called from OnCollisionEnter2D.

But, on device, when game is launched, there is Unity splash screen and directly Main Menu scene is loaded. It appears the image scene executes while the Unity splash screen has not yet completed. is this a bug?

I don’t know for sure whether this will fix the problem but you might want to make your first scene a blank scene that just loads your actual first scene.

1 Like

Yes that fixed it. Although not sure why script executes while Unity splash screen is still showing.

What if you wanted music / sound effects to play while the splash screen is going? You could also take the time to pre-load some additional textures and the like explicitly, or instantiate and pool some objects in a cache, since the screen is occupied anyways and the extra processing won’t be noticed. I really don’t know if that’s the reason though. shrugs

1 Like

You are not the first to complain of this. I’d put in a bug report and see what happens.

It might be by design to allow you to do loading while the splash screen is playing.

I just don’t recall any discussion about this as a feature anywhere.

1 Like

Filed bug report. http://fogbugz.unity3d.com/default.asp?714911_0hi7kce3urchiq75