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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

White screen on startup for 1s before first scene is visible

Discussion in 'Android' started by kendogar, Jul 18, 2017.

  1. kendogar

    kendogar

    Joined:
    May 24, 2016
    Posts:
    10
    Hello,

    I'm experiencing a strange issue over here and I'm not sure how to fix it. When launching my new game on android there is a white screen for approximately one second before the game becomes visible.

    The first scene is very small and loads very fast, but there is this one second white screen when tapping the game icon until it starts. I've been researching for a while and from an android developer board I've read something about android performing a cold start for the game and displaying a white standad layout until the game is ready, which is supposedly configurable through activities and themes. I have no idea if that is the problem and if so how I can configure this from Unity.

    Has anyone experienced something similar?

    I'm running Unity 5.6.0f3 with Unity Plus.
     
  2. kendogar

    kendogar

    Joined:
    May 24, 2016
    Posts:
    10
    I've managed to fix this issue.

    If someone else is having this issue, here's what I did:

    In the Android Manifest file I've attached android:theme="@android:style/Theme.Black" to the main unity activity and that seems to have fixed the problem.

    Cheers
     
    Porcospino69 likes this.