Crash to desktop on start

My app started to crash on start after recent update (I have implemented localization package). Not every phone is affected, but it’s always crashes on “google Redfin 64-bit only” device (according to Google internal testing) with the following backtrace:

backtrace:
#00 pc 0x0000000000051894 /apex/com.android.runtime/lib64/bionic/libc.so (abort+164)
#01 pc 0x00000000006d28bc /apex/com.android.art/lib64/libart.so (art::Runtime::Abort(char const*)+704)
#02 pc 0x0000000000016ea8 /apex/com.android.art/lib64/libbase.so
#03 pc 0x0000000000016450 /apex/com.android.art/lib64/libbase.so (android::base::LogMessage::~LogMessage()+352)
#04 pc 0x0000000000384118 /apex/com.android.art/lib64/libart.so (art::thread::AssertNoPendingExceptionForNewException(char const*) const+548)
#05 pc 0x0000000000381f14 /apex/com.android.art/lib64/libart.so (art::ThrowException(char const*, art::ObjPtrart::mirror::Class, char const*, std::__va_list*) (.__uniq.13088424560882570482564097729983985904.llvm.4217988227545677784)+500)
#06 pc 0x0000000000496c08 /apex/com.android.art/lib64/libart.so (art::ThrowNoSuchMethodError(art::InvokeType, art::ObjPtrart::mirror::Class, std::__1::basic_string_view<char, std::__1::char_traits >, art::Signature const&)+288)
#07 pc 0x000000000048ff54 /apex/com.android.art/lib64/libart.so (NterpGetMethod+11152)
#08 pc 0x000000000020f540 /apex/com.android.art/lib64/libart.so (nterp_get_method+48)
#09 pc 0x00000000002041f4 /apex/com.android.art/lib64/libart.so (nterp_op_invoke_interface+116)
#10 pc 0x000000000020b74c /apex/com.android.art/lib64/libart.so (nterp_helper+9292)
#11 pc 0x000000000020a254 /apex/com.android.art/lib64/libart.so (nterp_helper+3924)
#12 pc 0x000000000043696c /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+556)
#13 pc 0x00000000004cd8d4 /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithVarArgsart::ArtMethod*(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, std::__va_list)+828)
#14 pc 0x00000000005dd9e8 /apex/com.android.art/lib64/libart.so (art::JNI::CallVoidMethodV(_JNIEnv*, _jobject*, _jmethodID*, std::__va_list)+184)
#15 pc 0x0000000000386dc8 /data/app/~~KAcc-JIRINGxQlmJFhnREA==/com.nimuGAMES.TheDarkPlane-anzxgB6Lq6TFCiN7cS6ziQ==/split_config.arm64_v8a.apk
#16 pc 0x0000000000399a14 /data/app/~~KAcc-JIRINGxQlmJFhnREA==/com.nimuGAMES.TheDarkPlane-anzxgB6Lq6TFCiN7cS6ziQ==/split_config.arm64_v8a.apk
#17 pc 0x00000000003997a0 /data/app/~~KAcc-JIRINGxQlmJFhnREA==/com.nimuGAMES.TheDarkPlane-anzxgB6Lq6TFCiN7cS6ziQ==/split_config.arm64_v8a.apk
#18 pc 0x000000000039c0fc /data/app/~~KAcc-JIRINGxQlmJFhnREA==/com.nimuGAMES.TheDarkPlane-anzxgB6Lq6TFCiN7cS6ziQ==/split_config.arm64_v8a.apk
#19 pc 0x000000000039d82c /data/app/~~KAcc-JIRINGxQlmJFhnREA==/com.nimuGAMES.TheDarkPlane-anzxgB6Lq6TFCiN7cS6ziQ==/split_config.arm64_v8a.apk
#20 pc 0x00000000003b3a28 /data/app/~~KAcc-JIRINGxQlmJFhnREA==/com.nimuGAMES.TheDarkPlane-anzxgB6Lq6TFCiN7cS6ziQ==/split_config.arm64_v8a.apk
#21 pc 0x0000000000440354 /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+148)
#22 pc 0x000000000020a2b0 /apex/com.android.art/lib64/libart.so (nterp_helper+4016)
#23 pc 0x0000000000209334 /apex/com.android.art/lib64/libart.so (nterp_helper+52)
#24 pc 0x00000000004e5e04 /system/framework/arm64/boot-framework.oat

What I have tried so far:

  • Changed SDK from 29 to 33
  • Disabled Minify for Release
  • Enable preloading assets for all languages

I can’t watch the ADB logs of affected devices, because the game both on my own device and emulator works just fine, but great many of my users are reporting crashes on startup.

What could I do? I have an idea of disabling Vulkan and leaving only OpenGL in build. Will it help?

Here is the logcat of Google’s redfin device

8487599–1129022–logcat.txt (4.47 MB)

Anyone?
I’ve updated Unity to most recent LTS build (2021.3.11f), and now I’m getting bunch of new errors, along with the former Native crashes on startup.

Like this:
Exception java.lang.Error: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Version ‘2021.3.11f1 (0a5ca18544bf)’, Build type ‘Release’, Scripting Backend ‘il2cpp’, CPU ‘arm64-v8a’
Build fingerprint: ‘google/oriole/oriole:12/SQ1D.220205.004/8151327:user/release-keys’
Revision: ‘MP1.0’
ABI: ‘arm64’
Timestamp: 2022-10-05 22:40:51-0700
pid: 12739, tid: 12768, name: UnityMain >>> com.nimuGAMES.TheDarkPlane <<<
uid: 10233
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
Cause: null pointer dereference
x0 0000000000000000 x1 0000000000000010 x2 0000000000000010 x3 000000000000000c
x4 0000000000000000 x5 0000007411466e9d x6 0000000000000000 x7 0000000000000001
x8 00000073e000f360 x9 0000000000001239 x10 0000000000000000 x11 0000000000000000
x12 0000000000000527 x13 0000000000000000 x14 0000000000000526 x15 0000000288b07469
x16 00000074118a7b88 x17 0000007729c6c680 x18 00000073f97cc000 x19 000000738003ca20
x20 0000007413e207f0 x21 0000000000000000 x22 0000007413e20960 x23 0000000000000001
x24 b4000074fd16c840 x25 0000000000000000 x26 0000000000000018 x27 0000007413e20da0
x28 00000074114f0b7f x29 0000000000000049
sp 0000007413e20680 lr 0000007410691268 pc 0000007729c6c690
backtrace:
#00 pc 0000000000049690 /apex/com.android.runtime/lib64/bionic/libc.so (__strlen_aarch64+16) (BuildId: 28943f8bb3b7b23557619af9a38223c5)
#01 pc 0000000000603264 /data/app/~~w6jPxwJmnHXVwjr-ygj8fA==/com.nimuGAMES.TheDarkPlane-pnef1GMm73ywKzK-5oIIeA==/split_config.arm64_v8a.apk (BuildId: 07f32d679cd4f1993e28034838947f113540ac70)
#02 pc 00000000006066fc /data/app/~~w6jPxwJmnHXVwjr-ygj8fA==/com.nimuGAMES.TheDarkPlane-pnef1GMm73ywKzK-5oIIeA==/split_config.arm64_v8a.apk (BuildId: 07f32d679cd4f1993e28034838947f113540ac70)
#03 pc 00000000005f1bf0 /data/app/~~w6jPxwJmnHXVwjr-ygj8fA==/com.nimuGAMES.TheDarkPlane-pnef1GMm73ywKzK-5oIIeA==/split_config.arm64_v8a.apk (BuildId: 07f32d679cd4f1993e28034838947f113540ac70)
#04 pc 00000000005f4374 /data/app/~~w6jPxwJmnHXVwjr-ygj8fA==/com.nimuGAMES.TheDarkPlane-pnef1GMm73ywKzK-5oIIeA==/split_config.arm64_v8a.apk (BuildId: 07f32d679cd4f1993e28034838947f113540ac70)
#05 pc 000000000060b838 /data/app/~~w6jPxwJmnHXVwjr-ygj8fA==/com.nimuGAMES.TheDarkPlane-pnef1GMm73ywKzK-5oIIeA==/split_config.arm64_v8a.apk (BuildId: 07f32d679cd4f1993e28034838947f113540ac70)
#06 pc 0000000000222244 /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+148) (BuildId: e6c658201ef1ec3760112fa1b838ab2c)
#07 pc 0000000000212520 /apex/com.android.art/lib64/libart.so (nterp_helper+4016) (BuildId: e6c658201ef1ec3760112fa1b838ab2c)
#08 pc 00000000002115a4 /apex/com.android.art/lib64/libart.so (nterp_helper+52) (BuildId: e6c658201ef1ec3760112fa1b838ab2c)
#09 pc 00000000004efe70 /system/framework/arm64/boot-framework.oat (BuildId: b475cc2538d0c50ace3ee34f4ccdf79c9b7101d2)
at libc.__strlen_aarch64 (libc.java:16)
at split_config
at split_config
at split_config
at split_config
at split_config
at libart.art_quick_generic_jni_trampoline (libart.java:148)
at libart.nterp_helper (libart.java:4016)
at libart.nterp_helper (libart.java:52)
at boot-framework

there are my current Player-Other settings: