Unity Ver
2019.4.16f
Issue
We are trying to upgrade the unity version from 2019.2.21f to 2019.4.16f.
Because there are many crash on Android 11 OS and solved at latest version of 2019.4.
But some other crashes occurred when we are testing …
Do you know the reason why?
Test Device
Galaxy Z Fold 2 ( SM-F916N )
Android OS Ver : 10
One UI : 2.5,
Kernel : 4.19.81-19952515
Log
01-07 23:16:25.206 14459 32697 E CRASH : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-07 23:16:25.206 14459 32697 E CRASH : Version ‘2019.4.16f1 (e05b6e02d63e)’, Build type ‘Development’, Scripting Backend ‘il2cpp’, CPU ‘armeabi-v7a’
01-07 23:16:25.206 14459 32697 E CRASH : Build fingerprint: ‘samsung/f2qksx/f2q:10/QP1A.190711.020/F916NKSU1ATK1:user/release-keys’
01-07 23:16:25.206 14459 32697 E CRASH : Revision: ‘10’
01-07 23:16:25.206 14459 32697 E CRASH : ABI: ‘arm’
01-07 23:16:25.206 14459 32697 E CRASH : Timestamp: 2021-01-07 23:16:25+0900
01-07 23:16:25.206 14459 32697 E CRASH : pid: 14459, tid: 32697, name: UnityGfxDeviceW >>> com.games.heroes <<<
01-07 23:16:25.206 14459 32697 E CRASH : uid: 1010468
01-07 23:16:25.206 14459 32697 E CRASH : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xd8
01-07 23:16:25.206 14459 32697 E CRASH : Cause: null pointer dereference
01-07 23:16:25.206 14459 32697 E CRASH : r0 00000004 r1 00000004 r2 00000000 r3 00000001
01-07 23:16:25.206 14459 32697 E CRASH : r4 97502600 r5 00000000 r6 00000000 r7 00000000
01-07 23:16:25.206 14459 32697 E CRASH : r8 c0e01e70 r9 c2d59ea4 r10 c2d57c00 r11 c0e01d0c
01-07 23:16:25.206 14459 32697 E CRASH : ip d59c0398 sp bbc2b2a8 lr c0e01a00 pc d4e4aca0
01-07 23:16:25.206 14459 32697 E CRASH :
01-07 23:16:25.206 14459 32697 E CRASH : backtrace:
01-07 23:16:25.206 14459 32697 E CRASH : #00 pc 00181ca0 /vendor/lib/egl/libGLESv2_adreno.so (BuildId: e278fd8097bd8081500481d6200b5804)
01-07 23:16:25.206 14459 32697 E CRASH : #01 pc 000d7bf5 /vendor/lib/egl/libGLESv2_adreno.so (BuildId: e278fd8097bd8081500481d6200b5804)
01-07 23:16:25.206 14459 32697 E CRASH : #02 pc 000d437f /vendor/lib/egl/libGLESv2_adreno.so (BuildId: e278fd8097bd8081500481d6200b5804)
01-07 23:16:25.206 14459 32697 E CRASH : #03 pc 000fc0df /vendor/lib/egl/libGLESv2_adreno.so (BuildId: e278fd8097bd8081500481d6200b5804)
01-07 23:16:25.206 14459 32697 E CRASH : #04 pc 0012c82d /vendor/lib/egl/libGLESv2_adreno.so (BuildId: e278fd8097bd8081500481d6200b5804)
01-07 23:16:25.206 14459 32697 E CRASH : #05 pc 0058bbc4 /data/app/com.games.heroes-cteJZUoaRaYTe1hZwbIzRw==/lib/arm/libunity.so (ApiGLES::Clear(unsigned int, ColorRGBAf const&, bool, float, int)+92) (BuildId: b7f4dd1c2532403ebfbf52e47ac879bf0f98afc2)
01-07 23:16:25.206 14459 32697 E CRASH : #06 pc 00580b10 /data/app/com.games.heroes-cteJZUoaRaYTe1hZwbIzRw==/lib/arm/libunity.so (gles::ClearCurrentFramebuffer(ApiGLES*, bool, bool, bool, ColorRGBAf const&, float, int, int)+380) (BuildId: b7f4dd1c2532403ebfbf52e47ac879bf0f98afc2)
01-07 23:16:25.206 14459 32697 E CRASH : #07 pc 0059fba8 /data/app/com.games.heroes-cteJZUoaRaYTe1hZwbIzRw==/lib/arm/libunity.so (GfxFramebufferGLES::Clear(GfxClearFlags, ColorRGBAf const&, float, int, bool)+420) (BuildId: b7f4dd1c2532403ebfbf52e47ac879bf0f98afc2)
01-07 23:16:25.206 14459 32697 E CRASH : #08 pc 0057b9f8 /data/app/com.games.heroes-cteJZUoaRaYTe1hZwbIzRw==/lib/arm/libunity.so (GfxDeviceGLES::Clear(GfxClearFlags, ColorRGBAf const&, float, unsigned int)+56) (BuildId: b7f4dd1c2532403ebfbf52e47ac879bf0f98afc2)
01-07 23:16:25.206 14459 32697 E CRASH : #09 pc 00b43ffd /data/app/com.games.heroes-cteJZUoaRaYTe1hZwbIzRw==/lib/arm/libunity.so (GfxDeviceWorker::RunCommand(ThreadedStreamBuffer&)+716) (BuildId: b7f4dd1c2532403ebfbf52e47ac879bf0f98afc2)
01-07 23:16:25.206 14459 32697 E CRASH : #10 pc 00b4a95f /data/app/com.games.heroes-cteJZUoaRaYTe1hZwbIzRw==/lib/arm/libunity.so (GfxDeviceWorker::RunExt(ThreadedStreamBuffer&)+26) (BuildId: b7f4dd1c2532403ebfbf52e47ac879bf0f98afc2)
01-07 23:16:25.206 14459 32697 E CRASH : #11 pc 00b4a925 /data/app/com.games.heroes-cteJZUoaRaYTe1hZwbIzRw==/lib/arm/libunity.so (GfxDeviceWorker::Run()+96) (BuildId: b7f4dd1c2532403ebfbf52e47ac879bf0f98afc2)
01-07 23:16:25.206 14459 32697 E CRASH : #12 pc 00b43aef /data/app/com.games.heroes-cteJZUoaRaYTe1hZwbIzRw==/lib/arm/libunity.so (GfxDeviceWorker::RunGfxDeviceWorker(void*)+2) (BuildId: b7f4dd1c2532403ebfbf52e47ac879bf0f98afc2)
01-07 23:16:25.206 14459 32697 E CRASH : #13 pc 00470113 /data/app/com.games.heroes-cteJZUoaRaYTe1hZwbIzRw==/lib/arm/libunity.so (Thread::RunThreadWrapper(void*)+342) (BuildId: b7f4dd1c2532403ebfbf52e47ac879bf0f98afc2)
01-07 23:16:25.207 14459 32697 E CRASH : #14 pc 000abcdb /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+20) (BuildId: 7dc7586d0a8fc80482b8e044ba90d2df)
01-07 23:16:25.207 14459 32697 E CRASH : #15 pc 00062dc3 /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) (BuildId: 7dc7586d0a8fc80482b8e044ba90d2df)
01-07 23:16:32.523 14459 14459 E CRASH : other thread is trapped; signum = 11
Other Log
01-07 23:16:24.478 14459 32644 W Unity :
01-07 23:16:24.478 14459 32644 W Unity : (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
01-07 23:16:24.478 14459 32644 W Unity :
01-07 23:16:24.481 14459 32697 W Adreno-GSL: <sharedmem_gpuobj_alloc:2714>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
01-07 23:16:24.482 14459 32697 E Adreno-GSL: <gsl_memory_alloc_pure:2326>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
01-07 23:16:24.483 14459 32697 W Adreno-GSL: <sharedmem_gpuobj_alloc:2714>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
01-07 23:16:24.485 14459 32697 E Adreno-GSL: <gsl_memory_alloc_pure:2326>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
01-07 23:16:24.485 14459 32697 W Adreno-GSL: <sharedmem_gpuobj_alloc:2714>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
01-07 23:16:24.487 14459 32697 E Adreno-GSL: <gsl_memory_alloc_pure:2326>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
01-07 23:16:24.487 14459 32697 W Adreno-GSL: <sharedmem_gpuobj_alloc:2714>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
01-07 23:16:24.489 14459 32697 E Adreno-GSL: <gsl_memory_alloc_pure:2326>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
01-07 23:16:24.489 14459 32697 W Adreno-GSL: <sharedmem_gpuobj_alloc:2714>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
01-07 23:16:24.491 14459 32697 E Adreno-GSL: <gsl_memory_alloc_pure:2326>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
01-07 23:16:24.491 14459 32697 W Adreno-GSL: <sharedmem_gpuobj_alloc:2714>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
01-07 23:16:24.493 14459 32697 E Adreno-GSL: <gsl_memory_alloc_pure:2326>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
01-07 23:16:24.493 14459 32697 W Adreno-GSL: <sharedmem_gpuobj_alloc:2714>: shar