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.

I have built it with Target API Level set to 30 and now all works fine.

I have the same problem! Did you find any solution?

If any one still have issue, then try this fix: Mit Unity für Android 12 entwickeln  |  ARCore  |  Google for Developers

Enjoy!

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.

have you solved your problem now

I have the same problem black screen with target set on 31 and Google says we need to set 31 from November 2022.

It only works below 30 (included) but it would be rejected by Google Play Store… Unity 2018.4.10f1…