Search Issue Tracker
Fixed in 2019.2.X
Fixed in 2018.3.X, 2019.1.X
Votes
3
Found in
2018.1.3f1
Issue ID
1047042
Regression
No
Splash background is not visible when android game is built in batchmode
Reproduction steps:
1. Download "BugReproduction.zip" project and open in Unity
2. Open Terminal
3. Write a command - [path_to_Unity] -projectPath [path_to_project] -quit -batchmode -executeMethod BuildScript.PerformBuild -nographics
4. Install the apk to a device
Expected: the background of the splash screen should be custom
Actual: the background is grey
Reproduced on: 2017.1.5f1; 2017.2.3p2; 2017.4.7f1; 2018.1.9f1; 2018.2.0f2; 2018.3.0a5
Reproduced with:
HTC 10, Android: 7.0
Xiaomi Mi 5, Android: 6.0.1
Note: works fine if build and run in the Editor
Note: it is not working when building for the first time on a project without a library folder even without the -nographics parameter
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
karl_jones
Jan 17, 2019
This is caused by using the `-nographics` command. We use the GPU to generate the background texture. To prevent this bug we will be moving this to the CPU in the future.