Unity apk/aab build gets black screen with no splash screen and shutdown then on Android

I have Unity 2020.3.17f1 version.

I’m looking for solution about three days and I still have no any idea.

I started from empty project with one sprite on scene. I tried to build it and start the one on Android and it was fine.

Next, I added png files to assets folder (it’s about 3 thousand), created only three game objects on scene and attached an animation on each one. (All my last attepts were with checked enable option to false on theese objects in inspector)

When I run project in Editor it works fine. But when I build apk or aab and start it (through unity build and run option) on Android it appears black screen (on Android device) even without splash screen and shutdown after 2-3 seconds.

I haven’t errors through the build. I have no idea even the way I should searching for solution.

PS:

  1. I have only one scene and it has been checked in build settings
  2. Compression method is LZ4HC
  3. I tried to switch off Strip Engine Code in Player settings and it didn’t help
  4. All png files has check option Override for Android and max size 512 in inspector
  5. I tried run the build on two different devices and I got the same result.
  6. I tried to remove Artifact folder

I tried to inspect logcat logs, but I hadn’t found something interesting there.

Here is the logs. I left only Warn and Error logs:

2021.10.10 13:46:53.338 12817 12817 Verbose ActivityThread Skipping new config:{1.0 ?mcc?mnc [ru_RU] ldltr sw360dp w360dp h711dp 320dpi nrml long port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 0, 0) mAppBounds=Rect(0, 54 - 720, 1476) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:1 s.7}, config:{1.0 ?mcc?mnc [ru_RU] ldltr sw360dp w360dp h711dp 320dpi nrml long port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 0, 0) mAppBounds=Rect(0, 54 - 720, 1476) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:1 s.7} for app:com.DefaultCompany.Test2D2122 2021.10.10 13:46:53.340 12817 12838 Error AwareLog AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@3795522 2021.10.10 13:46:53.340 12817 12830 Error MemoryLeakMonitorManager MemoryLeakMonitor.jar is not exist! 2021.10.10 13:46:53.340 12817 12838 Error AwareLog AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@ce5cbb3 2021.10.10 13:46:53.356 12817 12817 Verbose HwPolicyFactory : success to get AllImpl object and return.... 2021.10.10 13:46:53.362 12817 12817 Verbose ActivityThread callActivityOnCreate  2021.10.10 13:46:53.420 12817 12817 Verbose HwWidgetFactory : successes to get AllImpl object and return....   2021.10.10 13:46:53.438 12817 12817 Verbose AudioManager getStreamVolume  streamType: 3 volume: 1   2021.10.10 13:46:53.457 12817 12844 Warn HiTouch_HiTouchSensor depended package hiTouch does n't exist!    2021.10.10 13:46:53.510 12817 12817 Warn InputMethodManager startInputReason = 1 2021.10.10 13:46:53.526 12817 12817 Warn InputMethodManager startInputReason = 5  2021.10.10 13:46:53.543 12817 12817 Warn UnityMain type=1400 audit(0.0:56405): avc: granted { write } for name="com.DefaultCompany.Test2D2122" dev="sdcardfs" ino=46090 scontext=u:r:untrusted_app:s0:c138,c256,c512,c768 tcontext=u:object_r:sdcardfs:s0 tclass=dir 2021.10.10 13:46:53.543 12817 12817 Warn UnityMain type=1400 audit(0.0:56406): avc: granted { add_name } for name="718b47ee21adbe58cb505570c1c27231" scontext=u:r:untrusted_app:s0:c138,c256,c512,c768 tcontext=u:object_r:sdcardfs:s0 tclass=dir 2021.10.10 13:46:53.543 12817 12817 Warn UnityMain type=1400 audit(0.0:56407): avc: granted { create } for name="718b47ee21adbe58cb505570c1c27231" scontext=u:r:untrusted_app:s0:c138,c256,c512,c768 tcontext=u:object_r:sdcardfs:s0:c138,c256,c512,c768 tclass=file 2021.10.10 13:46:53.543 12817 12817 Warn UnityMain type=1400 audit(0.0:56408): avc: granted { read write open } for path="/storage/emulated/0/Android/data/com.DefaultCompany.Test2D2122/718b47ee21adbe58cb505570c1c27231" dev="sdcardfs" ino=45606 scontext=u:r:untrusted_app:s0:c138,c256,c512,c768 tcontext=u:object_r:sdcardfs:s0 tclass=file 2021.10.10 13:46:53.547 12817 12817 Warn UnityMain type=1400 audit(0.0:56409): avc: granted { write } for name="com.DefaultCompany.Test2D2122" dev="sdcardfs" ino=46090 scontext=u:r:untrusted_app:s0:c138,c256,c512,c768 tcontext=u:object_r:sdcardfs:s0 tclass=dir 2021.10.10 13:46:53.547 12817 12817 Warn UnityMain type=1400 audit(0.0:56410): avc: granted { write } for name="com.DefaultCompany.Test2D2122" dev="sdcardfs" ino=46090 scontext=u:r:untrusted_app:s0:c138,c256,c512,c768 tcontext=u:object_r:sdcardfs:s0 tclass=dir 2021.10.10 13:46:53.547 12817 12817 Warn UnityMain type=1400 audit(0.0:56411): avc: granted { remove_name } for name="718b47ee21adbe58cb505570c1c27231" dev="sdcardfs" ino=45606 scontext=u:r:untrusted_app:s0:c138,c256,c512,c768 tcontext=u:object_r:sdcardfs:s0 tclass=dir 2021.10.10 13:46:53.547 12817 12817 Warn UnityMain type=1400 audit(0.0:56412): avc: granted { rename } for name="718b47ee21adbe58cb505570c1c27231" dev="sdcardfs" ino=45606 scontext=u:r:untrusted_app:s0:c138,c256,c512,c768 tcontext=u:object_r:sdcardfs:s0 tclass=file  2021.10.10 13:46:53.766 12817 12842 Error SchedPolicy set_timerslack_ns write failed: Operation not permitted  2021.10.10 13:46:53.767 12817 12842 Error SchedPolicy set_timerslack_ns write failed: Operation not permitted  2021.10.10 13:46:53.822 12817 12842 Error GED Failed to get GED Log Buf, err(0)  2021.10.10 13:46:53.869 12817 12842 Error GED Failed to get GED Log Buf, err(0)   2021.10.10 13:46:53.930 12817 12842 Verbose AudioManager getProperty  key: android.media.property.OUTPUT_FRAMES_PER_BUFFER 2021.10.10 13:46:53.934 12817 12842 Verbose AudioManager getProperty  key: android.media.property.OUTPUT_SAMPLE_RATE 2021.10.10 13:46:53.935 12817 12842 Verbose AudioManager getProperty  key: android.media.property.OUTPUT_FRAMES_PER_BUFFER  2021.10.10 13:46:54.062 12817 12842 Verbose AudioManager getStreamVolume  streamType: 3 volume: 1  2021.10.10 13:46:58.139 12817 12817 Warn InputMethodManager startInputReason = 8 2021.10.10 13:46:58.187 12817 12817 Warn InputMethodManager startInputReason = 7