Hello,
i am facing a peculiar challenge. There was an anomaly which i need help figuring out. Long story short : previously a build in unity generates a properly working apk and the next day the same app crashes after logo. The confusing thing is that all the previous builds ( even those which were made 6 months ago) also crash the same way.
Could it be possible that on ~3rd January 2024, something was changed in the android system itself ???
What makes it uneasy is that i have commited investment in a project which workflow is basically nonfunctional now because of this and i got no clue how to pinpoint the bottleneck…
The android did spit out this info one moment:
java.lang.Error: FATAL EXCEPTION [UnityMain]
Unity version : 2019.4.26f1
Device model : Xiaomi M2002J9G
Device fingerprint: Xiaomi/monet_eea/monet:12/SKQ1.211006.001/V13.0.4.0.SJIEUXM:user/release-keys
Caused by: java.lang.Error: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Version ‘2019.4.26f1 (e0392c6b2363)’, Build type ‘Release’, Scripting Backend ‘mono’, CPU ‘armeabi-v7a’
Build fingerprint: ‘Xiaomi/monet_eea/monet:12/SKQ1.211006.001/V13.0.4.0.SJIEUXM:user/release-keys’
Revision: ‘0’
ABI: ‘arm’
Timestamp: 2024-01-07 17:48:50+0200
pid: 16786, tid: 16809, name: UnityMain >>> com.taavetmalkov.CardboardARGPS <<<
uid: 10536
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
Cause: null pointer dereference
r0 00000000 r1 00000000 r2 00000000 r3 00000000
r4 b6984b50 r5 d6a5b1ac r6 80808080 r7 00000000
r8 e6a57e70 r9 00000000 r10 00000000 r11 b57b6bf0
ip b57edbdc sp d6a5b1a8 lr b57bf321 pc 00000000
managed backtrace:
#00 (wrapper managed-to-native) UnityEngine.XR.ARCore.ARCoreSessionSubsystem/NativeApi:UnityARCore_session_update (UnityEngine.ScreenOrientation,UnityEngine.Vector2Int,intptr,UnityEngine.XR.ARSubsystems.Feature)
#01 UnityEngine.XR.ARCore.ARCoreSessionSubsystem/ARCoreProvider:Update (UnityEngine.XR.ARSubsystems.XRSessionUpdateParams,UnityEngine.XR.ARSubsystems.Configuration) <0xef>
#02 UnityEngine.XR.ARSubsystems.XRSessionSubsystem:Update (UnityEngine.XR.ARSubsystems.XRSessionUpdateParams) <0x1d3>
#03 UnityEngine.XR.ARFoundation.ARSession:Update () <0x163>
#04 (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
at UnityEngine.XR.ARCore.ARCoreSessionSubsystem.NativeApi.UnityARCore_session_update (UnityEngine.ScreenOrientation,UnityEngine.Vector2Int,intptr,UnityEngine.XR.ARSubsystems.Feature)(Native Method)
at UnityEngine.XR.ARCore.ARCoreSessionSubsystem.ARCoreProvider.Update (UnityEngine.XR.ARSubsystems.XRSessionUpdateParams,UnityEngine.XR.ARSubsystems.Configuration)(0xef:239)
at UnityEngine.XR.ARSubsystems.XRSessionSubsystem.Update (UnityEngine.XR.ARSubsystems.XRSessionUpdateParams)(0x1d3:467)
at UnityEngine.XR.ARFoundation.ARSession.Update ()(0x163:355)
at System.Object.runtime_invoke_void__this__ (object,intptr,intptr,intptr)(Native Method)