First Reality AR Android demo not working
category: general [glöplog]
First Reality by HoloSapiens
Crashes on my Xiaomi. Any solutions to getting it to work? Some compatibility layer required? Error log follows. Thanks for any suggestions.
Crashes on my Xiaomi. Any solutions to getting it to work? Some compatibility layer required? Error log follows. Thanks for any suggestions.
Code:
java.lang.Error: FATAL EXCEPTION [UnityMain]
Unity version : 2020.3.6f1
Device model : Xiaomi M2102J20SG
Device fingerprint: POCO/vayu_global/vayu:12/SKQ1.211006.001/V13.0.3.0.SJUMIXM:user/release-keys
Build Type : Release
Scripting Backend : Mono
ABI : armeabi-v7a
Strip Engine Code : false
Caused by: java.lang.Error: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Version '2020.3.6f1 (338bb68529b2)', Build type 'Release', Scripting Backend 'mono', CPU 'armeabi-v7a'
Build fingerprint: 'POCO/vayu_global/vayu:12/SKQ1.211006.001/V13.0.3.0.SJUMIXM:user/release-keys'
Revision: '0'
ABI: 'arm'
Timestamp: 2022-04-06 15:46:52+0100
pid: 17011, tid: 17033, name: UnityMain >>> com.HoloSapiens.FirstReality <<<
uid: 10377
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
Cause: null pointer dereference
r0 00000000 r1 00000000 r2 00000000 r3 00000000
r4 ae22e9c0 r5 dd4bc1ac r6 80808080 r7 00000000
r8 eda72450 r9 00000000 r10 00000000 r11 b9725bf0
ip b975cbdc sp dd4bc1a8 lr b972e321 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 () <0x14f>
#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 ()(0x14f:335)
at System.Object.runtime_invoke_void__this__ (object,intptr,intptr,intptr)(Native Method)
It looks like the Google ARCore 64-bit update breaks the 32-bit applications. Rebuild from source might solve this problem.
Reference:
https://forum.unity.com/threads/ar-app-crashing-on-my-phone-when-arsession-is-loaded-unity-2019.950843/
https://github.com/google-ar/arcore-unity-sdk/issues/751
https://developers.google.com/ar/64bit
Reference:
https://forum.unity.com/threads/ar-app-crashing-on-my-phone-when-arsession-is-loaded-unity-2019.950843/
https://github.com/google-ar/arcore-unity-sdk/issues/751
https://developers.google.com/ar/64bit