Android 11 crash on startup

Hello,

we’ve recently noticed our game crashes when loading our initial scene on Samsung Galaxy S21, S21+, and S21 Ultra devices.

We’re using Unity 2019.4.13f1.
We build apk+obb files. When testing locally I disable binary splitting and copy the .apk over to a device to install it manually. When doing this there is no crash, the app loads normally.
When uploading the apk and obb to Google Play and downloading the game the app crashes.
The app never crashes on other devices (tested on Samsung Galaxy S10+, Huawei, Oppo, Samsung A50), all updated to Android 11.

I’ve rewritten the way we access obb files (moved to using context instead of environment and getObbPath + READ_EXTERNAL_STORAGE and REQUEST_INSTALL_PACKAGES permissions) to check if they exist thinking the crash might be related to the new way Android 11 handles storage but that code runs properly.

We’ve symbolicated the crash with addr2line and this is the stack trace we get:

MemoryManager::VirtualAllocator::GetBlockInfoFromPointer(void const*)
ThreadsafeLinearAllocator::Contains(void const*) const
ThreadsafeLinearAllocator::TryDeallocate(void*)
MemoryManager::smile:eallocate(void*, MemLabelId, char const*, int)
MemoryManager::smile:eallocate(void*, MemLabelId, char const*, int)
dynamic_array<unsigned char, 0ul>::~dynamic_array()
gles::UploadTexture(ApiGLES*, GLESTexture&, GraphicsFormat, void const*, unsigned long, int, int, int, int, unsigned int, TextureUsageMode)
UploadTexture2DData(GfxDevice&, UploadTextureDataParams const&)
Texture2D::UploadTexture(int)
AwakeFromLoadQueue::PersistentManagerAwakeSingleObject(Object&, AwakeFromLoadMode)
PersistentManager::IntegrateObjectAndUnlockIntegrationMutexInternal(int)
TimeSliceAwakeFromLoadQueue::IntegrateTimeSliced(int)
LoadSceneOperation::IntegrateTimeSliced(int)
PreloadManager::UpdatePreloadingSingleStep(PreloadManager::UpdatePreloadingFlags, int)
PreloadManager::WaitForAllAsyncOperationsToComplete()
RuntimeSceneManager::LoadScene(core::basic_string<char, core::StringStorageDefault<char> > const&, core::basic_string<char, core::StringStorageDefault<char> > const&, core::basic_string<char, core::StringStorageDefault<char> > const&, UnityGUID const&, int, InternalLoadSceneParameters const&)
PlayerStartFirstScene(bool)
PlayerLoadFirstScene(bool)
UnityPlayerLoop()
nativeRender(_JNIEnv*, _jobject*)
??:?

Just in case I’ll share the original crash data as well

09-21 21:02:32.540 25165 25369 E CRASH   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
09-21 21:02:32.540 25165 25369 E CRASH   : Version '2019.4.13f1 (518737b1de84)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
09-21 21:02:32.540 25165 25369 E CRASH   : Build fingerprint: 'samsung/p3sxeea/p3s:11/RP1A.200720.012/G998BXXU3AUHB:user/release-keys'
09-21 21:02:32.540 25165 25369 E CRASH   : Revision: '22'
09-21 21:02:32.540 25165 25369 E CRASH   : ABI: 'arm64'
09-21 21:02:32.540 25165 25369 E CRASH   : Timestamp: 2021-09-21 21:02:32+0200
09-21 21:02:32.540 25165 25369 E CRASH   : pid: 25165, tid: 25369, name: UnityMain  >>> com.domain.appname <<<
09-21 21:02:32.540 25165 25369 E CRASH   : uid: 10370
09-21 21:02:32.540 25165 25369 E CRASH   : signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x7a6de183a0
09-21 21:02:32.540 25165 25369 E CRASH   :     x0  0000007a6dc18360  x1  b4000079d1cf1050  x2  0000000000000003  x3  0000000000000000
09-21 21:02:32.540 25165 25369 E CRASH   :     x4  0000000000000000  x5  0000000000000004  x6  0000007c5abdea10  x7  0000007c5abdea10
09-21 21:02:32.540 25165 25369 E CRASH   :     x8  0000007a6de18360  x9  0000000000000018  x10 0000000000003238  x11 0000000000000000
09-21 21:02:32.540 25165 25369 E CRASH   :     x12 0000000000000000  x13 0000000000000000  x14 000000000000000c  x15 0000000000000000
09-21 21:02:32.540 25165 25369 E CRASH   :     x16 0000007a6dbf7660  x17 0000007dcfe109e4  x18 0000000000000028  x19 0000007a6dc24680
09-21 21:02:32.540 25165 25369 E CRASH   :     x20 b4000079d1cf1050  x21 0000000000000003  x22 0000000000000003  x23 0000007a6dc15a06
09-21 21:02:32.540 25165 25369 E CRASH   :     x24 0000000000000018  x25 0000000000003234  x26 0000000000003238  x27 ffffff6100000000
09-21 21:02:32.540 25165 25369 E CRASH   :     x28 0000000000002a10  x29 0000000000000001
09-21 21:02:32.540 25165 25369 E CRASH   :     sp  0000007ac04f6240  lr  0000007a6cd60e8c  pc  0000007a6cd5b394
09-21 21:02:32.540 25165 25369 E CRASH   : backtrace:
09-21 21:02:32.540 25165 25369 E CRASH   :       #00 pc 00000000001db394  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.540 25165 25369 E CRASH   :       #01 pc 00000000001e0e88  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.540 25165 25369 E CRASH   :       #02 pc 00000000001e0be4  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.540 25165 25369 E CRASH   :       #03 pc 00000000001da9c8  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.540 25165 25369 E CRASH   :       #04 pc 00000000001da984  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.540 25165 25369 E CRASH   :       #05 pc 00000000000db1fc  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.540 25165 25369 E CRASH   :       #06 pc 00000000003d8720  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.540 25165 25369 E CRASH   :       #07 pc 000000000024c750  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.540 25165 25369 E CRASH   :       #08 pc 000000000021f0d8  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.540 25165 25369 E CRASH   :       #09 pc 0000000000372ee0  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.540 25165 25369 E CRASH   :       #10 pc 0000000000365b8c  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.540 25165 25369 E CRASH   :       #11 pc 00000000002a3aa8  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.540 25165 25369 E CRASH   :       #12 pc 00000000002a4800  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.541 25165 25369 E CRASH   :       #13 pc 00000000002a56dc  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.541 25165 25369 E CRASH   :       #14 pc 00000000002a5cbc  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.541 25165 25369 E CRASH   :       #15 pc 00000000002aa500  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.541 25165 25369 E CRASH   :       #16 pc 000000000029da6c  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.541 25165 25369 E CRASH   :       #17 pc 000000000029db14  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.541 25165 25369 E CRASH   :       #18 pc 0000000000391e58  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.541 25165 25369 E CRASH   :       #19 pc 00000000003a5418  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.541 25165 25369 E CRASH   :       #20 pc 00000000000136ac  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/oat/arm64/base.odex

--------- beginning of crash
09-21 21:02:32.633 25165 25369 E AndroidRuntime: FATAL EXCEPTION: UnityMain
09-21 21:02:32.633 25165 25369 E AndroidRuntime: Process: com.domain.appname, PID: 25165
09-21 21:02:32.633 25165 25369 E AndroidRuntime: java.lang.Error: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
09-21 21:02:32.633 25165 25369 E AndroidRuntime: Version '2019.4.13f1 (518737b1de84)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
09-21 21:02:32.633 25165 25369 E AndroidRuntime: Build fingerprint: 'samsung/p3sxeea/p3s:11/RP1A.200720.012/G998BXXU3AUHB:user/release-keys'
09-21 21:02:32.633 25165 25369 E AndroidRuntime: Revision: '22'
09-21 21:02:32.633 25165 25369 E AndroidRuntime: ABI: 'arm64'
09-21 21:02:32.633 25165 25369 E AndroidRuntime: Timestamp: 2021-09-21 21:02:32+0200
09-21 21:02:32.633 25165 25369 E AndroidRuntime: pid: 25165, tid: 25369, name: UnityMain  >>> com.domain.appname <<<
09-21 21:02:32.633 25165 25369 E AndroidRuntime: uid: 10370
09-21 21:02:32.633 25165 25369 E AndroidRuntime: signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x7a6de183a0
09-21 21:02:32.633 25165 25369 E AndroidRuntime:     x0  0000007a6dc18360  x1  b4000079d1cf1050  x2  0000000000000003  x3  0000000000000000
09-21 21:02:32.633 25165 25369 E AndroidRuntime:     x4  0000000000000000  x5  0000000000000004  x6  0000007c5abdea10  x7  0000007c5abdea10
09-21 21:02:32.633 25165 25369 E AndroidRuntime:     x8  0000007a6de18360  x9  0000000000000018  x10 0000000000003238  x11 0000000000000000
09-21 21:02:32.633 25165 25369 E AndroidRuntime:     x12 0000000000000000  x13 0000000000000000  x14 000000000000000c  x15 0000000000000000
09-21 21:02:32.633 25165 25369 E AndroidRuntime:     x16 0000007a6dbf7660  x17 0000007dcfe109e4  x18 0000000000000028  x19 0000007a6dc24680
09-21 21:02:32.633 25165 25369 E AndroidRuntime:     x20 b4000079d1cf1050  x21 0000000000000003  x22 0000000000000003  x23 0000007a6dc15a06
09-21 21:02:32.633 25165 25369 E AndroidRuntime:     x24 0000000000000018  x25 0000000000003234  x26 0000000000003238  x27 ffffff6100000000
09-21 21:02:32.633 25165 25369 E AndroidRuntime:     x28 0000000000002a10  x29 0000000000000001
09-21 21:02:32.633 25165 25369 E AndroidRuntime:     sp  0000007ac04f6240  lr  0000007a6cd60e8c  pc  0000007a6cd5b394
09-21 21:02:32.633 25165 25369 E AndroidRuntime:
09-21 21:02:32.633 25165 25369 E AndroidRuntime: backtrace:
09-21 21:02:32.633 25165 25369 E AndroidRuntime:       #00 pc 00000000001db394  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:       #01 pc 00000000001e0e88  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:       #02 pc 00000000001e0be4  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:       #03 pc 00000000001da9c8  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:       #04 pc 00000000001da984  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:       #05 pc 00000000000db1fc  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:       #06 pc 00000000003d8720  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:       #07 pc 000000000024c750  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:       #08 pc 000000000021f0d8  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:       #09 pc 0000000000372ee0  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:       #10 pc 0000000000365b8c  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:       #11 pc 00000000002a3aa8  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:       #12 pc 00000000002a4800  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:       #13 pc 00000000002a56dc  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:       #14 pc 00000000002a5cbc  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:       #15 pc 00000000002aa500  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:       #16 pc 000000000029da6c  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:       #17 pc 000000000029db14  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:       #18 pc 0000000000391e58  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:       #19 pc 00000000003a5418  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/lib/arm64/libunity.so (BuildId: 28c9eabf134a4b818bd34bd8d98aed46c8c5f70d)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:       #20 pc 00000000000136ac  /data/app/~~UXhBjQaKq8oP7eROe9hDaA==/com.domain.appname-hjgPybXcW_8gC42NiADyTQ==/oat/arm64/base.odex
09-21 21:02:32.633 25165 25369 E AndroidRuntime:
09-21 21:02:32.633 25165 25369 E AndroidRuntime:        at libunity.0x1db394(Native Method)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:        at libunity.0x1e0e88(Native Method)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:        at libunity.0x1e0be4(Native Method)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:        at libunity.0x1da9c8(Native Method)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:        at libunity.0x1da984(Native Method)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:        at libunity.0xdb1fc(Native Method)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:        at libunity.0x3d8720(Native Method)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:        at libunity.0x24c750(Native Method)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:        at libunity.0x21f0d8(Native Method)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:        at libunity.0x372ee0(Native Method)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:        at libunity.0x365b8c(Native Method)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:        at libunity.0x2a3aa8(Native Method)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:        at libunity.0x2a4800(Native Method)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:        at libunity.0x2a56dc(Native Method)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:        at libunity.0x2a5cbc(Native Method)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:        at libunity.0x2aa500(Native Method)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:        at libunity.0x29da6c(Native Method)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:        at libunity.0x29db14(Native Method)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:        at libunity.0x391e58(Native Method)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:        at libunity.0x3a5418(Native Method)
09-21 21:02:32.633 25165 25369 E AndroidRuntime:        at base.0x136ac(Native Method)

Can you help us out? What is causing this?

Since you’re using 2019.4.13, please check this thread - https://discussions.unity.com/t/826358

Hey Tomas,

Thanks for the quick response.

Moving to 2019.4.15f1 indeed resolves the issue. Thank you!

What I still can’t understand is why the game doesn’t crash on Huawei phones, the Galaxy S10 and A50 and others. All running Android 11. Do you have any explanation for this? The only difference I can think of is that those phones shipped with lower versions of Android and were upgraded to 11 while Galaxy S21 phones already shipped with Android 11.

Do you have any insight on this?

I can only assume, they have different libc runtime library under the hood which didn’t switch to different heap allocator. That’s only a guess. Since Android 11 for Galaxy S10 is not the same Android 11 for Google Pixel, phone manufacturers can modify Android OS as they want.