We are currently using Unity 2019.2.5f1 and have used 2019.1.14f1, 2019.1.10f1 before. Regardless what Unity version we are using, our game has a high crash rate reported in Google Play Console and for many of the crashes Unity Cloud Diagnostics shows a crash stack trace like this:
Native StackTrace:
Thread 0 (crashed)
0 libunity.so 0x00000000864dc02e CrashReporting::Android::SignalHandler(int, siginfo*, void*)
1 libunity.so 0x0000000086303bbe NativeRuntimeException::signal_handler(int, siginfo*, void*)
2 app_process32 0x0000000085277242 <system symbols missing>
3 libc.so 0x00000000a48669a8 <system symbols missing>
4 libil2cpp.so 0x0000000081c504c8 il2cpp::os::FastMutex::Lock()
5 libil2cpp.so 0x0000000081c73760 il2cpp::vm::ThreadStart(void*)
6 libil2cpp.so 0x0000000081c588b0 il2cpp::os::Thread::RunWrapper(void*)
7 libil2cpp.so 0x0000000081c57510 il2cpp::os::ThreadImpl::ThreadStartWrapper(void*)
8 libc.so 0x00000000a4895508 <system symbols missing>
9 libc.so 0x00000000a4868f76 <system symbols missing>
We build our game for iOS & windows too. They also have a high crash rate with the same stack trace.
On Windows
Thread 56 (crashed)
0 ntdll 0x00007fff11b902b4 ZwWaitForMultipleObjects
1 KERNELBASE 0x00007fff0eaccc7e WaitForMultipleObjectsEx
2 KERNELBASE 0x00007fff0eaccb6e WaitForMultipleObjects
3 UnityPlayer 0x00007ffeab830202 ?HandleCrash@ExternalCrashHandler@winutils@@AEAAXKKPEBDPEAU_CONTEXT@@PEAU_EXCEPTION_RECORD@@_N@Z
4 UnityPlayer 0x00007ffeab830292 ?HandleCrash@ExternalCrashHandler@winutils@@QEAA_NKKPEAU_EXCEPTION_POINTERS@@@Z
5 UnityPlayer 0x00007ffeab83cc38 ?ProcessInternalCrash@winutils@@YAHPEAU_EXCEPTION_POINTERS@@_N@Z
6 KERNELBASE 0x00007fff0eaf6b2c UnhandledExceptionFilter
7 ntdll 0x00007fff11b981cb RtlUserThreadStart$filt$0
8 ntdll 0x00007fff11b7fd56 _C_specific_handler
9 ntdll 0x00007fff11b9477f RtlpExecuteHandlerForException
10 ntdll 0x00007fff11af4bef RtlDispatchException
11 ntdll 0x00007fff11b934ee KiUserExceptionDispatch
12 GameAssembly 0x00007ffea0842840 ?Lock@FastMutex@os@il2cpp@@QEAAXXZ
13 GameAssembly 0x00007ffea0887704 il2cpp::vm::ThreadStart
14 GameAssembly 0x00007ffea0843e62 ?RunWrapper@Thread@os@il2cpp@@CAXPEAX@Z
15 GameAssembly 0x00007ffea0845493 il2cpp::os::ThreadStartWrapper
16 KERNEL32 0x00007fff11037974 BaseThreadInitThunk
17 ntdll 0x00007fff11b5a271 RtlUserThreadStart
18 ntdll 0x00007fff11b5a271 RtlUserThreadStart
On iOS
Thread 45 (crashed)
0 ios 0x000000010197c7a8 il2cpp::os::FastMutex::Lock()
1 ios 0x000000010199e774 il2cpp::vm::Thread::SetState(Il2CppThread*, il2cpp::vm::ThreadState)
2 ios 0x000000010199ee58 il2cpp::vm::ThreadStart(void*)
3 ios 0x000000010197c234 il2cpp::os::Thread::RunWrapper(void*)
4 ios 0x000000010197e5e8 il2cpp::os::ThreadImpl::ThreadStartWrapper(void*)
5 libsystem_pthread.dylib 0x0000000215f452c0 _pthread_body
6 libsystem_pthread.dylib 0x0000000215f45220 _pthread_start
7 libsystem_pthread.dylib 0x0000000215f48cdc thread_start
Does anyone have the same crash issue and any idea on what could have caused the problem?