Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Scene start to load after splash screen

Discussion in 'Editor & General Support' started by rickyxd, Aug 6, 2017.

  1. rickyxd

    rickyxd

    Joined:
    Aug 19, 2015
    Posts:
    2
    Hi everyone, I've a problem with loading the first scene in Unity. The Unity splash screen stays for about one second then the game show a white screen until the first scene is loaded. This is quite annoying because my scene takes 6-7 seconds to load. The documentation says that the splash screen stays while the game loads the first scene async but this doesn't seem to happen for me. Indeed I tried to show the splash screen for up to 40 seconds but nothing changed, it needs anyway 7-8 seconds to load after the splash screen. I've encountered this problem both in Unity 2017.1 and Unity 5.6.2 and on Android (I haven't tried it on iOS yet), but I've never had this problem with my previous problem. How can I fix that?
    This video shows what is going on:
     
    Last edited: Aug 6, 2017
    krou likes this.
  2. Moonjump

    Moonjump

    Joined:
    Apr 15, 2010
    Posts:
    2,571
    I'm not sure how to fix your issue, but I know a way that should get around it.

    Create a new scene that just has an image that you can treat as a further splash screen. Have that as your opening scene. Add a script that loads what was your first screen after 0.1 seconds. This way you should have a screen that loads fast. During the time taken to load your next scene, the new scene will be shown.
     
    rickyxd likes this.
  3. rickyxd

    rickyxd

    Joined:
    Aug 19, 2015
    Posts:
    2
    Thank you, it works! I would have a further question, I've tried to load the scene with "LoadSceneAsync" to able to show an animation without the freezing that occurs while loading the next scene but it doesn't work, the animation freezes anyway. I have Unity personal maybe I need Unity pro? In the documentation there's no mention about that. Anyway the splash screen problem is very strange, I'm searching for a few days but I haven't found nothing to fix it.
     
  4. Moonjump

    Moonjump

    Joined:
    Apr 15, 2010
    Posts:
    2,571
    There is no difference between Personal and Pro regarding such things. It won't make a difference.

    I haven't used LoadSceneAsync. My guess is the freeze is caused by a long frame when the app is busy doing all the stuff you do when starting the new scene, but it is only a guess.
     
  5. unnanego

    unnanego

    Joined:
    May 8, 2018
    Posts:
    188
    Any other solution for this?
     
  6. Steviebops

    Steviebops

    Joined:
    Apr 9, 2013
    Posts:
    132
    Id also like to know if there's an updated solution to post-splash screen loading times.
     
  7. Kassem_m31

    Kassem_m31

    Joined:
    Apr 17, 2020
    Posts:
    25
    I have the same problem and I tried making the first scene a loading screen but it waits sometime then shows the loading screen then loads my main level
     
  8. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    7,846
    The splash does load in the background but it can only load to a certain point, it can't activate the scene. When the splash has finished it needs to
    Integrate the loaded scene Into the main thread and it's this that causes the pause. It's different for each platform, some are more noticeable.These parts can't be run until the splash has finished or the game would be running under the splash, which would be a different set of problems, it also causes some graphical glitches.
    Feel free to file a bug report, the last time we looked into it was 2017 so maybe it's worth another shot now.
     
  9. Deleted User

    Deleted User

    Guest

    You are right we will post a bug this problem is still occurring in unity 2021.3.11 LTS version