- Home /
Build not working on Android 12 - black screen
Hi all,
I have encountered an issue - a game built with Unity 2018.4.28f1 does not work on Android 12. Tested it out on 7, 9, 10 and 11 - all work fine, but on Android 12 only a black screen is displayed after Unity logo and that's it. Logs do not show any errors, not even warnings. We do have more games (built with identical settings) and they are running just fine.
Tried a lot of different things - changing blit type to always, changing Graphic APIs (both manual and automated), Target API level (Auto, 31, 32), API Compatibility (4.x and Standard), Enabling/disabling Multithreaded Rendering and Dynamic batching, 32-bit display buffer on/off.
Any suggestions what else shall I look at or how I can find out what is causing it?,Hi all,
I have encountered an issue - a game built with Unity 2018.4.28f1 does not work on Android 12. Tested it out on 7, 9, 10 and 11 - all work fine, but on Android 12 only a black screen is displayed after Unity logo and that's it. Logs do not show any errors, not even warnings. We do have more games (built with identical settings) and they are running just fine.
Tried a lot of different things - changing blit type to always, changing Graphic APIs (both manual and automated), Target API level (Auto, 31, 32), API Compatibility (4.x and Standard), Enabling/disabling Multithreaded Rendering and Dynamic batching, 32-bit display buffer on/off.
Any suggestions what else shall I look at or how I can find out what is causing it?
Further investigations:
Setting Write Permissions: External allows to run the app for the first time.
If user blocks the permission, then next time the app runs again, asks for permissions.
If user grants the permissions, then app runs, but after closing and starting again black screen is displayed and app does not run.
Further investigations: Setting Write Permissions: External allows to run the app for the first time. If user blocks the permission, then next time the app runs again, asks for permissions. If user grants the permissions, then app runs, but after closing and starting again black screen is displayed and app does not run.
Answer by Ewaldaz · Feb 21 at 09:46 PM
I have built it with Target API Level set to 30 and now all works fine.
Answer by planetfactory · Feb 21 at 02:02 PM
I have the same problem! Did you find any solution?
Yes, I did! I have built it with Target API Level set to 30 and now all works fine.
Answer by shank1993 · Apr 04 at 05:22 PM
If any one still have issue, then try this fix: https://developers.google.com/ar/develop/unity-arf/android-12-build
Enjoy!
Answer by keninger · May 13 at 03:13 PM
This is still the case with Unity 2018 - Android API 31, on android 12 black screen, there is some connection between this issue and the Write Permission.
Your answer
Follow this Question
Related Questions
My shader works on desktop, but black screen on Android. 0 Answers
Unity crashes after splash screen on Android 0 Answers
Android build - Black screen 0 Answers
Android App Refuses To Launch On My Phone 2 Answers
How can I remove the Android black screen at load-after preview, before splash screen 1 Answer