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

Bug Splash Screen background image is not displayed on Device

Discussion in 'Android' started by xLeo, Sep 4, 2023.

  1. xLeo

    xLeo

    Joined:
    Sep 21, 2010
    Posts:
    175
    I have configured my Splash Screen background image in the Project Settings, but it is not being displayed on build.
    It is working properly on Editor Preview (video links below), but on build the image is not displayed and the Splash Screen color is displayed instead.
    Note: I also tested setting up `Alternate Portrait Image`, but the bug happened nevertheless.

    - Link with videos
    - Project Settings:
    upload_2023-9-4_16-23-7.png

    - Image settings:

    upload_2023-9-4_16-39-26.png upload_2023-9-4_16-39-26.png
     
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    7,820
    Hi,
    1. What version of Unity are you using?
    2. How are you building the game? Locally or on a build machine? With a personal or pro licence?
    3. Do you use any special flags when you build such as the no graphics one?
    4. Can you check the build report after a build to see if there are any errors?
     
  3. xLeo

    xLeo

    Joined:
    Sep 21, 2010
    Posts:
    175
    1. 2022.3.8f1 (but it also happens with 2022.3.7)
    2. Locally with a Pro License
    3. No, regular android build through the
    BuildPipeline.BuildPlayer(buildPlayerOptions)
    API
    4. I will.
     
  4. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    7,820
    Is there anything special about the texture? Does it get generated by an editor script?
    Can you try a different texture to see if the issue still happens?
     
  5. xLeo

    xLeo

    Joined:
    Sep 21, 2010
    Posts:
    175
    I will also try that, but there's nothing special on that texture.
    Its import options can be seen in the first post.
     
  6. xLeo

    xLeo

    Joined:
    Sep 21, 2010
    Posts:
    175
    Quick Update on this issue: I ended up just removing Unity's splash screen altogether and using a custom made "in app" Splash Screen that we already had in place.

    This also speeds up our app initialization and might bring nice results on Google Play Vitals.