Search Unity

Bug libunity.so crashes on android devices

Discussion in 'Android' started by OffroadGamesStudio, May 17, 2023.

  1. OffroadGamesStudio

    OffroadGamesStudio

    Joined:
    Mar 13, 2016
    Posts:
    36
    We are experiencing lot of crashes after upgrading from unity 2019. Our crash increase from 0.2% to 3%.
    Major crashes are from libunity.so. we tried everything but not able to fix them and getting no support/reply on unity forum. We already tried unity 2020 LTS, 2021 LTS versions but getting same crashes.

    From many libunity.so crashes, this the latest crash we have.
    Unity Version: 2021.3.23f1
    Backtrace:

    ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** **
    pid: 0, tid: 20205 >>> com.ogs.off.road.semi.cargo.truck.driver.simulator.legends.cpec2 <<<

    backtrace:
    #00 pc 0x00000000000b8d20 /data/app/com.ogs.off.road.semi.cargo.truck.driver.simulator.legends.cpec2-wjk2wwAsLiORTeMBQRjoXA==/lib/arm/libunity.so (void std::__ndk1::__tree_balance_after_insert<std::__ndk1::__tree_node_base<void*>*>(std::__ndk1::__tree_node_base<void*>, std::__ndk1::__tree_node_base<void*>))
    #01 pc 0x00000000000d10e1 /data/app/com.ogs.off.road.semi.cargo.truck.driver.simulator.legends.cpec2-wjk2wwAsLiORTeMBQRjoXA==/lib/arm/libunity.so (std::__ndk1::__tree<DelayedCallManager::Callback, std::__ndk1::less<DelayedCallManager::Callback>, memory_pool<DelayedCallManager::Callback>>::__insert_node_at(std::__ndk1::__tree_end_node<std::__ndk1::__tree_node_base<void*>*>, std::__ndk1::__tree_node_base<void*>*&, std::__ndk1::__tree_node_base<void*>))
    #02 pc 0x00000000000d10b3 /data/app/com.ogs.off.road.semi.cargo.truck.driver.simulator.legends.cpec2-wjk2wwAsLiORTeMBQRjoXA==/lib/arm/libunity.so (std::__ndk1::__tree_iterator<DelayedCallManager::Callback, std::__ndk1::__tree_node<DelayedCallManager::Callback, void*>*, int> std::__ndk1::__tree<DelayedCallManager::Callback, std::__ndk1::less<DelayedCallManager::Callback>, memory_pool<DelayedCallManager::Callback>>::__emplace_multi<DelayedCallManager::Callback const&>(DelayedCallManager::Callback const&))
    #03 pc 0x00000000000ced19 /data/app/com.ogs.off.road.semi.cargo.truck.driver.simulator.legends.cpec2-wjk2wwAsLiORTeMBQRjoXA==/lib/arm/libunity.so (CallDelayed(CallObjectState ()(Object, void), PPtr<Object>, float, void, float, CallObjectState ()(void), DelayedCallManager::DelayedCallMode))
    #04 pc 0x00000000001e2f99 /data/app/com.ogs.off.road.semi.cargo.truck.driver.simulator.legends.cpec2-wjk2wwAsLiORTeMBQRjoXA==/lib/arm/libunity.so (InvokeDelayed(MonoBehaviour&, char const*, float, float))
    #05 pc 0x000000000007922f /data/app/com.ogs.off.road.semi.cargo.truck.driver.simulator.legends.cpec2-wjk2wwAsLiORTeMBQRjoXA==/lib/arm/libunity.so (MonoBehaviour_CUSTOM_InvokeDelayed(ScriptingBackendNativeObjectPtrOpaque, ScriptingBackendNativeStringPtrOpaque, float, float))
    #06 pc 0x000000000035d678 /data/app/com.ogs.off.road.semi.cargo.truck.driver.simulator.legends.cpec2-wjk2wwAsLiORTeMBQRjoXA==/lib/arm/libil2cpp.so (il2cpp::vm::Runtime::InvokeWithThrow(MethodInfo const, void, void**)+578)
    #07 pc 0x000000000035d4d4 /data/app/com.ogs.off.road.semi.cargo.truck.driver.simulator.legends.cpec2-wjk2wwAsLiORTeMBQRjoXA==/lib/arm/libil2cpp.so (il2cpp::vm::Runtime::Invoke(MethodInfo const, void, void**, Il2CppException**)+564)
    #08 pc 0x000000000035da7c /data/app/com.ogs.off.road.semi.cargo.truck.driver.simulator.legends.cpec2-wjk2wwAsLiORTeMBQRjoXA==/lib/arm/libil2cpp.so (il2cpp::vm::Runtime::InvokeConvertArgs(MethodInfo const, void, Il2CppObject**, int, Il2CppException**)+720)
    #09 pc 0x000000000035d7dc /data/app/com.ogs.off.road.semi.cargo.truck.driver.simulator.legends.cpec2-wjk2wwAsLiORTeMBQRjoXA==/lib/arm/libil2cpp.so (il2cpp::vm::Runtime::InvokeArray(MethodInfo const, void, Il2CppArray*, Il2CppException**)+616)
    #10 pc 0x000000000035fb74 /data/app/com.ogs.off.road.semi.cargo.truck.driver.simulator.legends.cpec2-wjk2wwAsLiORTeMBQRjoXA==/lib/arm/libil2cpp.so (il2cpp::icalls::mscorlib::System::Reflection::RuntimeMethodInfo::InternalInvoke(Il2CppReflectionMethod, Il2CppObject, Il2CppArray*, Il2CppException**)+186)
    #11 pc 0x0000000000fb1d7c /data/app/com.ogs.off.road.semi.cargo.truck.driver.simulator.legends.cpec2-wjk2wwAsLiORTeMBQRjoXA==/lib/arm/libil2cpp.so (RuntimeMethodInfo_Invoke_m8051178526027CCDA6D5EAC06792B901430EBC70+13553)
    #12 pc 0x0000000000f9e6a0 /data/app/com.ogs.off.road.semi.cargo.truck.driver.simulator.legends.cpec2-wjk2wwAsLiORTeMBQRjoXA==/lib/arm/libil2cpp.so (MethodBase_Invoke_mEEF3218648F111A8C338001A7804091A0747C826+146)
    #13 pc 0x000000000179338c /data/app/com.ogs.off.road.semi.cargo.truck.driver.simulator.legends.cpec2-wjk2wwAsLiORTeMBQRjoXA==/lib/arm/libil2cpp.so (AndroidJavaProxy_Invoke_m9D765F3E7DC37C5CB14C4884F2873B48D2F96BFB+7277)
    #14 pc 0x0000000001799928 /data/app/com.ogs.off.road.semi.cargo.truck.driver.simulator.legends.cpec2-wjk2wwAsLiORTeMBQRjoXA==/lib/arm/libil2cpp.so (_AndroidJNIHelper_InvokeJavaProxyMethod_mCA9BD35B5AE99B6DFABBFE9968DD1EBE931F70C2+54)
    #15 pc 0x0000000000295034 /data/app/com.ogs.off.road.semi.cargo.truck.driver.simulator.legends.cpec2-wjk2wwAsLiORTeMBQRjoXA==/lib/arm/libil2cpp.so (RuntimeInvoker_FalseIntPtr_t_RuntimeObject_IntPtr_t_IntPtr_t(void ()(), MethodInfo const, void, void*, void*)+59724)
    #16 pc 0x000000000035d714 /data/app/com.ogs.off.road.semi.cargo.truck.driver.simulator.legends.cpec2-wjk2wwAsLiORTeMBQRjoXA==/lib/arm/libil2cpp.so (il2cpp::vm::Runtime::InvokeWithThrow(MethodInfo const, void, void**)+588)
    #17 pc 0x000000000035d4d4 /data/app/com.ogs.off.road.semi.cargo.truck.driver.simulator.legends.cpec2-wjk2wwAsLiORTeMBQRjoXA==/lib/arm/libil2cpp.so (il2cpp::vm::Runtime::Invoke(MethodInfo const, void, void**, Il2CppException**)+564)
    #18 pc 0x00000000001d9819 /data/app/com.ogs.off.road.semi.cargo.truck.driver.simulator.legends.cpec2-wjk2wwAsLiORTeMBQRjoXA==/lib/arm/libunity.so (scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr*, bool))
    #19 pc 0x00000000001e3e11 /data/app/com.ogs.off.road.semi.cargo.truck.driver.simulator.legends.cpec2-wjk2wwAsLiORTeMBQRjoXA==/lib/arm/libunity.so (ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool))
    #20 pc 0x0000000000084ba7 /data/app/com.ogs.off.road.semi.cargo.truck.driver.simulator.legends.cpec2-wjk2wwAsLiORTeMBQRjoXA==/lib/arm/libunity.so (UnityJavaProxy_invoke(_JNIEnv, _jobject, long long, jstring*, jobjectArray*))
    #21 pc 0x000000000003b80d /data/app/com.ogs.off.road.semi.cargo.truck.driver.simulator.legends.cpec2-wjk2wwAsLiORTeMBQRjoXA==/oat/arm/base.odex (com.unity3d.player.ReflectionHelper.nativeProxyInvoke+156)
    #22 pc 0x000000000040d975 /system/lib/libart.so (art_quick_invoke_stub_internal+68)
    #23 pc 0x00000000003e7103 /system/lib/libart.so (art_quick_invoke_static_stub+222)
    #24 pc 0x00000000000a1027 /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread, unsigned int, unsigned int, art::JValue*, char const*)+154)
    #25 pc 0x00000000001e5b99 /system/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread, art::ArtMethod, art::ShadowFrame*, unsigned short, art::JValue*)+236)
    #26 pc 0x00000000001e0687 /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod, art::Thread, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+814)
    #27 pc 0x00000000003e2c37 /system/lib/libart.so (MterpInvokeStatic+130)
    #28 pc 0x0000000000400914 /system/lib/libart.so (ExecuteMterpImpl+14612)
    #29 pc 0x00000000004f22b8 /data/app/com.ogs.off.road.semi.cargo.truck.driver.simulator.legends.cpec2-wjk2wwAsLiORTeMBQRjoXA==/oat/arm/base.vdex (com.unity3d.player.ReflectionHelper.a)
    #30 pc 0x00000000001c4e03 /system/lib/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool) (.llvm.1900696265)+378)
    #31 pc 0x00000000001c94e9 /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread, art::CodeItemDataAccessor const&, art::ShadowFrame, art::JValue*)+152)
    #32 pc 0x00000000001e066f /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod, art::Thread, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+790)
    #33 pc 0x00000000003e2c37 /system/lib/libart.so (MterpInvokeStatic+130)
    #34 pc 0x0000000000400914 /system/lib/libart.so (ExecuteMterpImpl+14612)
    #35 pc 0x00000000004f1c92 /data/app/com.ogs.off.road.semi.cargo.truck.driver.simulator.legends.cpec2-wjk2wwAsLiORTeMBQRjoXA==/oat/arm/base.vdex (com.unity3d.player.ReflectionHelper$1.invoke+58)
    #36 pc 0x00000000001c4e03 /system/lib/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool) (.llvm.1900696265)+378)
    #37 pc 0x00000000001c942f /system/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+82)
    #38 pc 0x00000000003d5741 /system/lib/libart.so (artQuickToInterpreterBridge+880)
    #39 pc 0x0000000000411eff /system/lib/libart.so (art_quick_to_interpreter_bridge+30)
    #40 pc 0x0000000000236e05 /system/framework/arm/boot.oat (java.lang.reflect.Proxy.invoke+68)
    #41 pc 0x000000000040d975 /system/lib/libart.so (art_quick_invoke_stub_internal+68)
    #42 pc 0x00000000003e7103 /system/lib/libart.so (art_quick_invoke_static_stub+222)
    #43 pc 0x00000000000a1027 /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread, unsigned int, unsigned int, art::JValue*, char const*)+154)
    #44 pc 0x0000000000347b55 /system/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod, art::(anonymous namespace)::ArgArray, art::JValue*, char const*)+52)
    #45 pc 0x00000000003485d3 /system/lib/libart.so (art::InvokeWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, jobject*, jmethodID*, jvalue*)+310)
    #46 pc 0x0000000000285a1b /system/lib/libart.so (art::JNI::CallStaticObjectMethodA(_JNIEnv, _jclass, _jmethodID*, jvalue*)+446)
    #47 pc 0x00000000003bf251 /system/lib/libart.so (art::InvokeProxyInvocationHandler(art::ScopedObjectAccessAlreadyRunnable&, char const, _jobject, _jobject*, std::__1::vector<jvalue, std::__1::allocator<jvalue>>&)+444)
    #48 pc 0x00000000003d6239 /system/lib/libart.so (artQuickProxyInvokeHandler+724)
    #49 pc 0x0000000000411cd5 /system/lib/libart.so (art_quick_proxy_invoke_handler+20)
    #50 pc 0x000000000040d975 /system/lib/libart.so (art_quick_invoke_stub_internal+68)
    #51 pc 0x00000000003e7001 /system/lib/libart.so (art_quick_invoke_stub+224)
    #52 pc 0x00000000000a1015 /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread, unsigned int, unsigned int, art::JValue*, char const*)+136)
    #53 pc 0x00000000001e5b99 /system/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread, art::ArtMethod, art::ShadowFrame*, unsigned short, art::JValue*)+236)
    #54 pc 0x00000000001e0687 /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod, art::Thread, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+814)
    #55 pc 0x00000000003e282b /system/lib/libart.so (MterpInvokeInterface+1010)
    #56 pc 0x0000000000400994 /system/lib/libart.so (ExecuteMterpImpl+14740)
    #57 pc 0x00000000004ef640 /data/app/com.ogs.off.road.semi.cargo.truck.driver.simulator.legends.cpec2-wjk2wwAsLiORTeMBQRjoXA==/oat/arm/base.vdex (com.google.unity.ads.UnityRewardedInterstitialAd$1$1$4.run+48)
    #58 pc 0x00000000001c4e03 /system/lib/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool) (.llvm.1900696265)+378)
    #59 pc 0x00000000001c942f /system/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+82)
    #60 pc 0x00000000003d5741 /system/lib/libart.so (artQuickToInterpreterBridge+880)
    #61 pc 0x0000000000411eff /system/lib/libart.so (art_quick_to_interpreter_bridge+30)
    #62 pc 0x000000000022f0c9 /system/framework/arm/boot.oat (java.lang.Thread.run+64)
    #63 pc 0x000000000040d975 /system/lib/libart.so (art_quick_invoke_stub_internal+68)
    #64 pc 0x00000000003e7001 /system/lib/libart.so (art_quick_invoke_stub+224)
    #65 pc 0x00000000000a1015 /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread, unsigned int, unsigned int, art::JValue*, char const*)+136)
    #66 pc 0x0000000000347b55 /system/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod, art::(anonymous namespace)::ArgArray, art::JValue*, char const*)+52)
    #67 pc 0x00000000003488ad /system/lib/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, jobject*, jmethodID*, jvalue*)+320)
    #68 pc 0x0000000000369827 /system/lib/libart.so (art::Thread::CreateCallback(void*)+866)
    #69 pc 0x00000000000632e9 /system/lib/libc.so (__pthread_start(void*)+22)
    #70 pc 0x000000000001de51 /system/lib/libc.so (__start_thread+24)
     

    Attached Files:

    antoxworld likes this.
  2. OffroadGamesStudio

    OffroadGamesStudio

    Joined:
    Mar 13, 2016
    Posts:
    36
    we need urgent support.
     
  3. pablo_leban

    pablo_leban

    Joined:
    Sep 19, 2013
    Posts:
    68
    Have you find any solution to this? I'm having the same issue and didn't get any help from Unity.
     
  4. OffroadGamesStudio

    OffroadGamesStudio

    Joined:
    Mar 13, 2016
    Posts:
    36
    not yet, still looking for solution.
    same case, didn't get any help from unity.
     
  5. fkilius

    fkilius

    Joined:
    Jan 22, 2019
    Posts:
    16
    Hi, we are in the same situation. We need urgent support please.

    Using 2021.3.10f1

    Stacktrace:
    Crashed: Thread: SIGSEGV 0x0000000000000000
    #00 pc 0x1398a8 libunity.so (void std::__ndk1::__tree_balance_after_insert<std::__ndk1::__tree_node_base<void*>*>(std::__ndk1::__tree_node_base<void*>*, std::__ndk1::__tree_node_base<void*>*)) (BuildId: 191ce0169e3697b3aca13c3747651e39854847ce)
    #01 pc 0x15b604 libunity.so (std::__ndk1::__tree<DelayedCallManager::Callback, std::__ndk1::less<DelayedCallManager::Callback>, memory_pool<DelayedCallManager::Callback> >::__insert_node_at(std::__ndk1::__tree_end_node<std::__ndk1::__tree_node_base<void*>*>*, std::__ndk1::__tree_node_base<void*>*&, std::__ndk1::__tree_node_base<void*>*)) (BuildId: 191ce0169e3697b3aca13c3747651e39854847ce)
    #02 pc 0x62f000 libil2cpp.so (il2cpp::vm::Runtime::Invoke(MethodInfo const*, void*, void**, Il2CppException**)) (BuildId: 810dc388c71e9d1ce7c80cf82ebac742a97f1184)
    #03 pc 0x60c744 libil2cpp.so (il2cpp::icalls::mscorlib::System::Reflection::RuntimeMethodInfo::InternalInvoke(Il2CppReflectionMethod*, Il2CppObject*, Il2CppArray*, Il2CppException**)) (BuildId: 810dc388c71e9d1ce7c80cf82ebac742a97f1184)
    #04 pc 0x1be7a4c libil2cpp.so (NGPermissionCallbackAndroid.OnPermissionResult) (BuildId: 810dc388c71e9d1ce7c80cf82ebac742a97f1184)
    #05 pc 0x137d238 libil2cpp.so (AndroidJavaProxy.Invoke) (BuildId: 810dc388c71e9d1ce7c80cf82ebac742a97f1184)
    #06 pc 0x137e400 libil2cpp.so (AndroidJavaProxy.Invoke) (BuildId: 810dc388c71e9d1ce7c80cf82ebac742a97f1184)
    #07 pc 0x1bec084 libil2cpp.so (NGPermissionCallbackAndroid.OnPermissionResult) (BuildId: 810dc388c71e9d1ce7c80cf82ebac742a97f1184)
    #08 pc 0x1beec6c libil2cpp.so (NGPermissionCallbackAndroid.OnPermissionResult) (BuildId: 810dc388c71e9d1ce7c80cf82ebac742a97f1184)
    #09 pc 0x1c50ffc libil2cpp.so (NGPermissionCallbackAndroid.OnPermissionResult) (BuildId: 810dc388c71e9d1ce7c80cf82ebac742a97f1184)
    #10 pc 0x1381490 libil2cpp.so (_AndroidJNIHelper_InvokeJavaProxyMethod_mCA9BD35B5AE99B6DFABBFE9968DD1EBE931F70C2) (BuildId: 810dc388c71e9d1ce7c80cf82ebac742a97f1184)
    #11 pc 0x59a0a4 libil2cpp.so (RuntimeInvoker_FalseIntPtr_t_RuntimeObject_IntPtr_t_IntPtr_t(void (*)(), MethodInfo const*, void*, void**, void*)) (BuildId: 810dc388c71e9d1ce7c80cf82ebac742a97f1184)
    #12 pc 0x62f224 libil2cpp.so (il2cpp::vm::Runtime::InvokeWithThrow(MethodInfo const*, void*, void**)) (BuildId: 810dc388c71e9d1ce7c80cf82ebac742a97f1184)
    #13 pc 0x62f1f0 libil2cpp.so (il2cpp::vm::Runtime::InvokeWithThrow(MethodInfo const*, void*, void**)) (BuildId: 810dc388c71e9d1ce7c80cf82ebac742a97f1184)
    #14 pc 0x62f000 libil2cpp.so (il2cpp::vm::Runtime::Invoke(MethodInfo const*, void*, void**, Il2CppException**)) (BuildId: 810dc388c71e9d1ce7c80cf82ebac742a97f1184)
    #15 pc 0x69d828 libil2cpp.so (il2cpp::vm::Thread::InitializeManagedThread(Il2CppThread*, Il2CppDomain*)) (BuildId: 810dc388c71e9d1ce7c80cf82ebac742a97f1184)
    #16 pc 0x2a0130 libunity.so (scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr*, bool)) (BuildId: 191ce0169e3697b3aca13c3747651e39854847ce)
    #17 pc 0x69d5e0 libil2cpp.so (il2cpp::vm::Thread::Attach(Il2CppDomain*)) (BuildId: 810dc388c71e9d1ce7c80cf82ebac742a97f1184)
    #18 pc 0x10f7e3c libunity.so (__emutls_register_common) (BuildId: 191ce0169e3697b3aca13c3747651e39854847ce)
    #19 pc 0x2adc00 libunity.so (ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool)) (BuildId: 191ce0169e3697b3aca13c3747651e39854847ce)
    #20 pc 0xf6fcc libunity.so (UnityJavaProxy_invoke(_JNIEnv*, _jobject*, long, _jstring*, _jobjectArray*)) (BuildId: 191ce0169e3697b3aca13c3747651e39854847ce)
     
  6. OffroadGamesStudio

    OffroadGamesStudio

    Joined:
    Mar 13, 2016
    Posts:
    36
    can you provide device information?
    I resolved it today. just need confirmation after releasing updates of games.
     
  7. fkilius

    fkilius

    Joined:
    Jan 22, 2019
    Posts:
    16
    Hi @OffroadGamesStudio this happen in a large number of devices, looks like there is no related with an specific device. I've got crashes from every manufacturer, every single version of Android.
    We are also using the last version of the Google Mobile Ads SDK 8.3, External dependency manager 1.2.176, Firebase SDK 11.1.
    Have you found any workaround?
    Best regards.
     
  8. OffroadGamesStudio

    OffroadGamesStudio

    Joined:
    Mar 13, 2016
    Posts:
    36
    Sorry for late reply. I resolved major portion of crashes(still working on above crash). My crash rate almost reduce to 0.1-0.2%. Crash free users now 99.8 - 99.9%. Note: If it works for me, doesn't mean works for you :)

    In my case, major reason for crashes was Vulkan Graphics APIs. On firebase crashlytics, on inspecting almost all of my crash devices hardware were Arm64 and using Vulkan. And games were crashing on Vulkan APIs code.

    So Auto Graphics API are enabled by default in android player settings. With Auto Graphics API enabled,
    unity first try Vulkan Graphics API if supported by android device, else go for OpenGL ES. Check Android Player Settings.
    Vulkan support starts from android oreo 8.0 api level 26. and i set my games minimum api level 22 in android player settings.

    What i did was
    • Uncheck Auto Graphics API
    • Set OpenGL ES on first priority, Vulkan on second (you can totally remove Vulkan, if you think its not necessary)
    • Check all OpenGL ES3.1, ES3.1+AEP, ES3.2
    Extra (not necessary, if think make sense you can try these settings)
    • Minimum API Level 22 (i did because i want to support as many devices i can)
    • Maximum API Level 32 (which suits you)
    • scripting backend IL2CPP
    • API compatibility Level .NET Framework(i am using firebase, otherwise i will use .NET Standard 2.1)(I will also love trying .NET Framework without firebase for crash hunting, because i think with .NET Standard 2.1, many libraries, classes stripped, which can also leads to crash. unknown library or class needed in code but stripped in build process. just saying, i dont know how things work in deep)
    • Target Architectures ARMv7, ARM64
    My Player Settings
    PlayerSettings_OtherSettings3.png PlayerSettings_OtherSettings1.png PlayerSettings_OtherSettings2.png


    Unity Version: 2021.3.23f1
    Admob: 8.2.0
    Firebase: Yes
    Try using Admob and Firebase with same External Dependency Manager. In my case it is 1.2.176.

    Good Luck
     
    umarhyatt, antoxworld and Faimen like this.
  9. OffroadGamesStudio

    OffroadGamesStudio

    Joined:
    Mar 13, 2016
    Posts:
    36
  10. unity_614FFF31B8EAE82BC612

    unity_614FFF31B8EAE82BC612

    Joined:
    Apr 21, 2022
    Posts:
    3
    Hi,
    Thanks in advance. I need help regarding the crashes. I am using unity 22.3 version.
    I have set scripting backend to IL2CPP. Then the crashing issue got solved, but the application was working very slow because of using Addressable.
    Any solution?
     
  11. OffroadGamesStudio

    OffroadGamesStudio

    Joined:
    Mar 13, 2016
    Posts:
    36
    No idea about this.
    but some people also facing same problem from 2020.
    https://stackoverflow.com/questions...essables-20x-slower-for-an-android-app-bundle
    and
    https://issuetracker.unity3d.com/is...2.1780692621.1608559324-1767580709.1595774341
     
  12. OffroadGamesStudio

    OffroadGamesStudio

    Joined:
    Mar 13, 2016
    Posts:
    36
  13. virgo73

    virgo73

    Joined:
    Dec 4, 2019
    Posts:
    4
    i am facing the same issue please guide me too. Thanks
     
  14. OffroadGamesStudio

    OffroadGamesStudio

    Joined:
    Mar 13, 2016
    Posts:
    36
  15. AlexanderL1

    AlexanderL1

    Joined:
    Feb 21, 2018
    Posts:
    15
    Hello, I fixed crash with target API has been changed from 34 to 33.
    Unity 2021.3.15f1

    My crash:
    [libunity.so] SIGSEGV
     
    OffroadGamesStudio likes this.
  16. OffroadGamesStudio

    OffroadGamesStudio

    Joined:
    Mar 13, 2016
    Posts:
    36
    Admob version?
     
  17. AlexanderL1

    AlexanderL1

    Joined:
    Feb 21, 2018
    Posts:
    15
    I not use third party SDK in my game. Its paid Android game.