Hi, I have a crash on Android on certain devices currently only PowerVR GE8320 graphic devices are concerned but I don’t have lot of test devices.
On the logs I have the following error:
Error IMGSRV CreateProgramShaderUniformBridge: recompiled revision contains on-opaque uniform which cannot be found in initial revision
Followed by a crash:
CRASH *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
CRASH Version '6000.0.33f1 (433b0a79340b)', Build type 'Development', Scripting Backend 'il2cpp', CPU 'arm64-v8a', Stripping 'Disabled'
CRASH Build fingerprint: 'OPPO/CPH2349T2/OP5321:11/RP1A.200720.011/1725938230840:user/release-keys'
CRASH Revision: '0'
CRASH ABI: 'arm64'
CRASH Timestamp: 2025-01-21 17:44:59.770819919+0400
CRASH pid: 25195, tid: 26559, name: UnityGfxDeviceW >>> com.lagoonsoft.pm <<<
CRASH uid: 10374
CRASH signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr --------
CRASH Cause: null pointer dereference
CRASH x0 b4000078b2d79980 x1 0000000000000000 x2 b4000078b28b55a0 x3 b40000790e4ec6f0
CRASH x4 b4000078b28b55a0 x5 0000000000000000 x6 0000000000000000 x7 0000000000000001
CRASH x8 00000078fee4b27c x9 0000000000000000 x10 0000000000000000 x11 b400000000000000
CRASH x12 00000078b2a9c340 x13 00000078b2a9cac0 x14 0000000000000020 x15 0000000000000005
CRASH x16 0000007900625b28 x17 000000799fc26c68 x18 00000077a5b5e000 x19 b4000078b2d79980
CRASH x20 b40000790e4ec6f0 x21 0000000000000000 x22 b4000078b28b55a0 x23 b4000078b28a0e00
CRASH x24 00000078feefadc8 x25 0000000000000000 x26 b40000790e5bb600 x27 0000000000000001
CRASH x28 0000000000000000 x29 00000078ae1d73f0
CRASH lr 00000078fee52a10 sp 00000078ae1d73f0 pc 00000078fee4b290 pst 0000000060000000
CRASH backtrace:
CRASH #00 pc 0000000000106290 /vendor/lib64/egl/libGLESv2_mtk.so (BuildId: 6240319d489f6c9551fbba9faf1ab558)
CRASH #01 pc 000000000010da0c /vendor/lib64/egl/libGLESv2_mtk.so (BuildId: 6240319d489f6c9551fbba9faf1ab558)
CRASH #02 pc 0000000000073624 /vendor/lib64/egl/libGLESv2_mtk.so (BuildId: 6240319d489f6c9551fbba9faf1ab558)
CRASH #03 pc 0000000000032b5c /vendor/lib64/libsrv_um.so (BuildId: af5cb1979a82072235bbb413f82a7c01)
CRASH #04 pc 00000000000db188 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64) (BuildId: a6e89496b61a77b8a97118405d4e247e)
CRASH #05 pc 000000000007a9d0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: a6e89496b61a77b8a97118405d4e247e)
CRASH Forwarding signal 11
I currently have 2 similar cases on my game when this crash happens and on the 2 cases here what is done:
- instantiate a prefab.
- play an animation.
- on the first case the animation is done by an animator and awaited until the end.
- on the second the animation is done by chained DOTweens with some async delays.
- destroy the gameobject.
All async code uses Awaitable.
I don’t know where the problem really happens here because I see the crash log on the console some times before the crash happens. The crash log appear at instantiation or maybe a little after, but the animation always complete before the app crash.
I’m still investigating to find more information.
Any help would be appreciated to help me fix this.
EDIT 1:
- the crash occurs only on the first game launch after install or update of the game on the device.