I had some troubles with the Splash Screen of Unity 5.5.03f in Android.
I read that the update to Unity 5.5.1f fix the problem, so I did that and it really fix the problem, but a new problem appeared… The splash screen appears and after that only the background of it keeps for a long time, about 4 or 5 secs. The Preview on the editor works fine… I would like to know if it’s a bug in Unity or I’m doing something wrong. The logo duration is 2 secs by default and I didn’t change anything more.
There is an issue where it’s not loading the scene async correctly on Android devices, but a fix is on its way.
I stilll have this problem, after the second logo disappear, the app takes 3-5 seconds to show the scene, i am using 5.5.1p4, what i need to do to fix it?
That version does not have the issue. I have seen quite a few users with this and it has so far all been down to large Initial scenes that are still loading after the splash has finished.
Try loading an empty scene and see if it still has the problem.
If it is the scene then try:
- breaking it into sub scenes and loading them additively when the game starts.
- use an empty scene to load the larger scene and put some loading screen in.
- change large audio files to stream instead of load in memory.
-Make the splash screen longer
I plan to make some changes in the future so the splash will hold on the final logo instead of the background but for now you should look to get that first scene loading faster, which is a pretty good idea anyway.
I’ve upgraded my unity from 5.4.2 to 5.5.4f1; disabled my logo screen and used Unity splash screen to show unity logo and later my logo. But I have the same issue on android - after whole splash screen (even 5sec unity logo + 5sec my logo) screen stays on background for about 3-5s - before scene starts. I have some scripts to run at scene start(tried also on enable and awake), but with my logo(not unity splash) after 2sec everything worked perfectly. So what’s the issue?
Its hard to say. Have you tried it on multiple devices? Try loading into an empty scene and see if you have the same problem. The 2-3 sec delay could be cause by activating the scene. See if the same happens when you load into a simple empty scene.
Thanks for fast answer Karl.
So ok, I’ve tried with empty scene and it worked fast. So it is in my code.
I’m probably missing something… Weird thing is, that there is no difference if I use 2 or 10sec splash screen, background always stays for 3-5 sec. So it looks like my code starts after splash screen logo disappears, not during it. My code is in Awake, but I also tried putting it in start and onEnable - no difference. I also tried to change script execution order and put my script before default time, but it didn’t help either. Of course I can go back and use my logo screen instead of splash, but I’m curious what am I doing wrong?
Yes no scripts will be executed during the splash. Whilst the splash is loading the scene is loaded in the background but is not activated until the splash has finished.
Ok. So scene loads during splashscr, but code executes after load. So back to my to logo ![]()
Thank you!