[2.02.18] Crash on startup on Android

Hello,
My Android app is crashing right after the Unity splash screen, I am using the Unity integration 2.02.18, the device is a Google Pixel 6 Pro running Android 13. I am able to reproduce this crash on other devices with different (but recent) Android versions.
When building my target API Level is 33 (Android 13) and minimum API Level is 29 (Android 10).
I am using Unity 2022.3.9f1, compiling with IL2CPP, .NET Standard 2.1, target architecture ARM64.
I have tried enabling the “Mute Other Audio Sources” in build settings but the crash still happens.
I have an “FMOD Studio Listener” in my first Unity scene.

For context:
I was using FMOD 2.02.06 on the same project but the app was crashing immediately upon opening it (not even showing the Unity splash screen) on Android. So I upgraded to 2.02.18 as it seemed to correct a few bugs (like the RuntimeUtils.EnforceLibraryOrder()) and now I can see the splash screen but then it crashes. I have tried targeting API level 32 and 33, nothing changes.

When I open my APK in Android Studio I can see the fmod libraries:
Screenshot_1

The Android Studio logcat:

2023-10-07 12:30:01.527 16632-16653 CRASH                   com.company.game      E  *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2023-10-07 12:30:01.527 16632-16653 CRASH                   com.company.game      E  Version '2022.3.9f1 (ea401c316338)', Build type 'Development', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
2023-10-07 12:30:01.527 16632-16653 CRASH                   com.company.game      E  Build fingerprint: 'google/raven/raven:13/TQ3A.230901.001/10750268:user/release-keys'
2023-10-07 12:30:01.527 16632-16653 CRASH                   com.company.game      E  Revision: 'MP1.0'
2023-10-07 12:30:01.527 16632-16653 CRASH                   com.company.game      E  ABI: 'arm64'
2023-10-07 12:30:01.527 16632-16653 CRASH                   com.company.game      E  Timestamp: 2023-10-07 12:30:01.527715679+0200
2023-10-07 12:30:01.527 16632-16653 CRASH                   com.company.game      E  pid: 16632, tid: 16653, name: UnityMain  >>> com.company.game <<<
2023-10-07 12:30:01.527 16632-16653 CRASH                   com.company.game      E  uid: 10468
2023-10-07 12:30:01.527 16632-16653 CRASH                   com.company.game      E  signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr --------
2023-10-07 12:30:01.527 16632-16653 CRASH                   com.company.game      E  Cause: null pointer dereference
2023-10-07 12:30:01.527 16632-16653 CRASH                   com.company.game      E      x0  0000000000000800  x1  0000007783118af7  x2  00000000000000fa  x3  0000007783118585
2023-10-07 12:30:01.527 16632-16653 CRASH                   com.company.game      E      x4  0000007783119689  x5  000000000000001e  x6  00000077831238af  x7  ff64736073526a62
2023-10-07 12:30:01.527 16632-16653 CRASH                   com.company.game      E      x8  0000000000000000  x9  de59c88c80c9f259  x10 0000000000000050  x11 0000000000000009
2023-10-07 12:30:01.527 16632-16653 CRASH                   com.company.game      E      x12 000000000000a857  x13 97a5db7b05523011  x14 0000000000000006  x15 ffffffffffffffff
2023-10-07 12:30:01.527 16632-16653 CRASH                   com.company.game      E      x16 000000778330fb80  x17 000000778329cf9c  x18 000000783960b230  x19 000000000000001e
2023-10-07 12:30:01.527 16632-16653 CRASH                   com.company.game      E      x20 0000007895927b30  x21 0000000000000000  x22 0000007895928550  x23 0000000000000000
2023-10-07 12:30:01.527 16632-16653 CRASH                   com.company.game      E      x24 0000007783311df0  x25 0000007893532380  x26 00000000000000ff  x27 0000000000000000
2023-10-07 12:30:01.527 16632-16653 CRASH                   com.company.game      E      x28 0000007895928ac0  x29 0000007895927ad0
2023-10-07 12:30:01.527 16632-16653 CRASH                   com.company.game      E      lr  00000077832a8450  sp  0000007895927460  pc  00000077832fab00  pst 0000000080001000
2023-10-07 12:30:01.527 16632-16653 CRASH                   com.company.game      E  backtrace:
2023-10-07 12:30:01.527 16632-16653 CRASH                   com.company.game      E        #00 pc 0000000000207b00  /data/app/~~dE_VjV3_yIehuaST7D7mOg==/com.company.game-O42yRI7AQ-niCpj7BD6XhQ==/lib/arm64/libfmodstudioL.so
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #01 pc 00000000001b544c  /data/app/~~dE_VjV3_yIehuaST7D7mOg==/com.company.game-O42yRI7AQ-niCpj7BD6XhQ==/lib/arm64/libfmodstudioL.so
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #02 pc 00000000001affc0  /data/app/~~dE_VjV3_yIehuaST7D7mOg==/com.company.game-O42yRI7AQ-niCpj7BD6XhQ==/lib/arm64/libfmodstudioL.so
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #03 pc 00000000001a9fc4  /data/app/~~dE_VjV3_yIehuaST7D7mOg==/com.company.game-O42yRI7AQ-niCpj7BD6XhQ==/lib/arm64/libfmodstudioL.so (FMOD::Studio::EventInstance::getPlaybackState(FMOD_STUDIO_PLAYBACK_STATE*) const+40)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #04 pc 0000000003e6dac8  /data/app/~~dE_VjV3_yIehuaST7D7mOg==/com.company.game-O42yRI7AQ-niCpj7BD6XhQ==/lib/arm64/libil2cpp.so (EventInstance_FMOD_Studio_EventInstance_GetPlaybackState_m92E12A7828A5C52BEE3A730BA80BAA9A355C7C59+144) (BuildId: a2cb4a01bf3e300c)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #05 pc 0000000003e6d998  /data/app/~~dE_VjV3_yIehuaST7D7mOg==/com.company.game-O42yRI7AQ-niCpj7BD6XhQ==/lib/arm64/libil2cpp.so (EventInstance_getPlaybackState_mB663914CE669A30DD8B8FEA9BED6796835BFE6F0+336) (BuildId: a2cb4a01bf3e300c)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #06 pc 0000000003fc1948  /data/app/~~dE_VjV3_yIehuaST7D7mOg==/com.company.game-O42yRI7AQ-niCpj7BD6XhQ==/lib/arm64/libil2cpp.so (SFXManager_PlaySFXAttached_m9D685D24AFAADFB03B5C884BF91FD1CEE645763B+1196) (BuildId: a2cb4a01bf3e300c)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #07 pc 0000000003fc142c  /data/app/~~dE_VjV3_yIehuaST7D7mOg==/com.company.game-O42yRI7AQ-niCpj7BD6XhQ==/lib/arm64/libil2cpp.so (AudioManager_PlaySFXAttached_m447BBDEA55EF861C2B22F6D3CA9F7FF08A2A250F+432) (BuildId: a2cb4a01bf3e300c)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #08 pc 00000000040a57c8  /data/app/~~dE_VjV3_yIehuaST7D7mOg==/com.company.game-O42yRI7AQ-niCpj7BD6XhQ==/lib/arm64/libil2cpp.so (SoundPlayer_OnEnable_m9A78EA56DC7950871395A4B3E76D04BB78969566+692) (BuildId: a2cb4a01bf3e300c)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #09 pc 0000000008e931c4  /data/app/~~dE_VjV3_yIehuaST7D7mOg==/com.company.game-O42yRI7AQ-niCpj7BD6XhQ==/lib/arm64/libil2cpp.so (RuntimeInvoker_TrueVoid_t4861ACF8F4594C3437BB48B6E56783494B843915(void (*)(), MethodInfo const*, void*, void**, void*)+44) (BuildId: a2cb4a01bf3e300c)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #10 pc 000000000eabdf8c  /data/app/~~dE_VjV3_yIehuaST7D7mOg==/com.company.game-O42yRI7AQ-niCpj7BD6XhQ==/lib/arm64/libil2cpp.so (il2cpp::vm::Runtime::InvokeWithThrow(MethodInfo const*, void*, void**)+88) (BuildId: a2cb4a01bf3e300c)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #11 pc 000000000eabded8  /data/app/~~dE_VjV3_yIehuaST7D7mOg==/com.company.game-O42yRI7AQ-niCpj7BD6XhQ==/lib/arm64/libil2cpp.so (il2cpp::vm::Runtime::Invoke(MethodInfo const*, void*, void**, Il2CppException**)+176) (BuildId: a2cb4a01bf3e300c)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #12 pc 000000000ea0d5ec  /data/app/~~dE_VjV3_yIehuaST7D7mOg==/com.company.game-O42yRI7AQ-niCpj7BD6XhQ==/lib/arm64/libil2cpp.so (il2cpp_runtime_invoke+44) (BuildId: a2cb4a01bf3e300c)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #13 pc 0000000000894078  /data/app/~~dE_VjV3_yIehuaST7D7mOg==/com.company.game-O42yRI7AQ-niCpj7BD6XhQ==/lib/arm64/libunity.so (scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr*, bool)+176) (BuildId: c9e02775f5ff809b)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #14 pc 00000000008a6778  /data/app/~~dE_VjV3_yIehuaST7D7mOg==/com.company.game-O42yRI7AQ-niCpj7BD6XhQ==/lib/arm64/libunity.so (ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool)+156) (BuildId: c9e02775f5ff809b)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #15 pc 00000000008b8470  /data/app/~~dE_VjV3_yIehuaST7D7mOg==/com.company.game-O42yRI7AQ-niCpj7BD6XhQ==/lib/arm64/libunity.so (MonoBehaviour::AddToManager()+424) (BuildId: c9e02775f5ff809b)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #16 pc 00000000008b7ef4  /data/app/~~dE_VjV3_yIehuaST7D7mOg==/com.company.game-O42yRI7AQ-niCpj7BD6XhQ==/lib/arm64/libunity.so (MonoBehaviour::AwakeFromLoad(AwakeFromLoadMode)+584) (BuildId: c9e02775f5ff809b)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #17 pc 00000000008fa628  /data/app/~~dE_VjV3_yIehuaST7D7mOg==/com.company.game-O42yRI7AQ-niCpj7BD6XhQ==/lib/arm64/libunity.so (AwakeFromLoadQueue::InvokePersistentManagerAwake(AwakeFromLoadQueue::Item*, unsigned int, AwakeFromLoadMode, bool)+336) (BuildId: c9e02775f5ff809b)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #18 pc 00000000008fa43c  /data/app/~~dE_VjV3_yIehuaST7D7mOg==/com.company.game-O42yRI7AQ-niCpj7BD6XhQ==/lib/arm64/libunity.so (AwakeFromLoadQueue::PersistentManagerSingleQueueAwakeFromLoad(int, AwakeFromLoadMode)+136) (BuildId: c9e02775f5ff809b)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #19 pc 00000000008fa398  /data/app/~~dE_VjV3_yIehuaST7D7mOg==/com.company.game-O42yRI7AQ-niCpj7BD6XhQ==/lib/arm64/libunity.so (AwakeFromLoadQueue::PersistentManagerAwakeFromLoad_NoChecks(AwakeFromLoadMode)+28) (BuildId: c9e02775f5ff809b)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #20 pc 000000000071f498  /data/app/~~dE_VjV3_yIehuaST7D7mOg==/com.company.game-O42yRI7AQ-niCpj7BD6XhQ==/lib/arm64/libunity.so (LoadSceneOperation::CompleteAwakeSequence()+216) (BuildId: c9e02775f5ff809b)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #21 pc 000000000071f134  /data/app/~~dE_VjV3_yIehuaST7D7mOg==/com.company.game-O42yRI7AQ-niCpj7BD6XhQ==/lib/arm64/libunity.so (LoadSceneOperation::PlayerLoadSceneFromThread()+24) (BuildId: c9e02775f5ff809b)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #22 pc 000000000071f14c  /data/app/~~dE_VjV3_yIehuaST7D7mOg==/com.company.game-O42yRI7AQ-niCpj7BD6XhQ==/lib/arm64/libunity.so (LoadSceneOperation::CompleteLoadFirstScene()+4) (BuildId: c9e02775f5ff809b)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #23 pc 000000000071f010  /data/app/~~dE_VjV3_yIehuaST7D7mOg==/com.company.game-O42yRI7AQ-niCpj7BD6XhQ==/lib/arm64/libunity.so (LoadSceneOperation::IntegrateMainThread()+188) (BuildId: c9e02775f5ff809b)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #24 pc 000000000071fef8  /data/app/~~dE_VjV3_yIehuaST7D7mOg==/com.company.game-O42yRI7AQ-niCpj7BD6XhQ==/lib/arm64/libunity.so (PreloadManager::UpdatePreloadingSingleStep(PreloadManager::UpdatePreloadingFlags, int)+280) (BuildId: c9e02775f5ff809b)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #25 pc 000000000072077c  /data/app/~~dE_VjV3_yIehuaST7D7mOg==/com.company.game-O42yRI7AQ-niCpj7BD6XhQ==/lib/arm64/libunity.so (PreloadManager::WaitForAllAsyncOperationsToComplete()+148) (BuildId: c9e02775f5ff809b)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #26 pc 0000000000956fc0  /data/app/~~dE_VjV3_yIehuaST7D7mOg==/com.company.game-O42yRI7AQ-niCpj7BD6XhQ==/lib/arm64/libunity.so (UnityPlayerLoop()+344) (BuildId: c9e02775f5ff809b)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #27 pc 0000000000978d68  /data/app/~~dE_VjV3_yIehuaST7D7mOg==/com.company.game-O42yRI7AQ-niCpj7BD6XhQ==/lib/arm64/libunity.so (nativeRender(_JNIEnv*, _jobject*)+84) (BuildId: c9e02775f5ff809b)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #28 pc 0000000000377030  /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+144) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #29 pc 00000000003605a4  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+612) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #30 pc 00000000004906bc  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+1248) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #31 pc 000000000050a5dc  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+2380) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #32 pc 00000000003797d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #33 pc 000000000037cde0  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.1377403774332988508)+356) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #34 pc 0000000000491214  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+4152) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #35 pc 000000000050a300  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1648) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #36 pc 00000000003797d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #37 pc 000000000037cde0  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.1377403774332988508)+356) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #38 pc 0000000000491214  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+4152) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #39 pc 000000000050acac  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+4124) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #40 pc 00000000003797d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #41 pc 000000000037cde0  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.1377403774332988508)+356) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #42 pc 0000000000491214  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+4152) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #43 pc 0000000000509f9c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+780) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #44 pc 00000000003797d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #45 pc 000000000037cde0  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.1377403774332988508)+356) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #46 pc 0000000000491214  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+4152) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #47 pc 000000000050a300  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1648) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #48 pc 00000000003797d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #49 pc 000000000037cde0  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.1377403774332988508)+356) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #50 pc 0000000000491214  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+4152) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #51 pc 000000000050a300  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1648) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #52 pc 00000000003797d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #53 pc 000000000037cde0  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.1377403774332988508)+356) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #54 pc 000000000037c560  /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+672) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #55 pc 0000000000377168  /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #56 pc 00000000003605a4  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+612) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #57 pc 000000000034b930  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+144) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #58 pc 00000000004f3e38  /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void*)+1888) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #59 pc 00000000000c226c  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204) (BuildId: dc4001c2ef2dfc23467040797a96840c)
2023-10-07 12:30:01.528 16632-16653 CRASH                   com.company.game      E        #60 pc 0000000000054a30  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: dc4001c2ef2dfc23467040797a96840c)
2023-10-07 12:30:01.608 16632-16653 CRASH                   com.company.game      E  Tombstone written to: /storage/emulated/0/Android/data/com.company.game/files/tombstone_00
2023-10-07 12:30:01.608 16632-16653 CRASH                   com.company.game      E  Forwarding signal 11
2023-10-07 12:30:01.608 16632-16653 libc                    com.company.game      A  Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x15c in tid 16653 (UnityMain), pid 16632 (s.game)

I feel like I’m missing something as this crash happens 100% of the time on every device that I have.
I will upload my apk on my profile (development build with API Error Logging) so you can see for yourself.

While I wait for the ability to upload a build on my profile do you see anything based on my original post?
Is there something I could try?

So after a lot of digging it seems to be an initialization order problem:
In my first scene I have a component which calls EventInstance.getPlaybackState(...) in its OnEnable() which causes the crash. I changed the execution order of my component to be after the default execution order and the crash disappeared. So you might want to look into setting an earlier than default execution order for the fmod initialization script.
This crash only happened on mobile (Android + iOS) which makes it weird though.

1 Like

Hi,

Thanks for bringing this to our attention, and I’m happy to see you’ve found a workaround. I’ve been able to reproduce the crash on my end, and have passed it to the development team for further investigation.