I’m trying this on a Samsung Galaxy S21+, I have the ARCore system stuff installed on my device. Other ARCore tools (like Measure) work properly.
The blueprint node “Start AR Session” is called and later when I check the status via “Get AR Session Status” it returns “Fatal Error.” I’ve tried restarting the session and it fails with “Fatal Error” each time. I need some ideas of how to get this working.
Here are the Android ADB logs:
UE4 : LogGoogleARCore: Start ARCore session requested.
UE4 : LogGoogleARCore: Pausing ARCore session.
UE4 : LogGoogleARCore: Could not stop ARCore tracking session because there is no running tracking session!
UE4 : LogGoogleARCore: Warning: Reset ARCore session due to fatal error detected.
third_party/arcore/ar/core/android/sdk/session_create.cc: Entering ArSession_create
third_party/arcore/ar/core/android/sdk/session_create.cc: ARCore Version: SDK build name: 1.18
third_party/arcore/ar/core/android/sdk/session_create.cc: ARCore Version: APK version code: 212010383
third_party/arcore/ar/core/android/sdk/session_create.cc: Dynamite load ok.
third_party/arcore/java/com/google/vr/dynamite/client/native/dynamite_client.cc: Attempting to load native library arcore_c from package com.google.ar.core
qmi_secgps_clnt: SECGPS: QMI_SECGPS_AGNSS_CONFIG_MESSAGE_IND_V01 received
DynamiteClient: Failed to load native library [packageName=com.google.ar.core,libraryName=arcore_c] from remote package:
DynamiteClient:
DynamiteClient: java.lang.IllegalStateException: Library arcore_c loaded in the same classloader context as library null
DynamiteClient: at com.google.vr.dynamite.NativeLibraryLoader.initializeAndLoadNativeLibrary(PG:1)
DynamiteClient: at gan.A(PG:6)
DynamiteClient: at agy.onTransact(PG:3)
DynamiteClient: at android.os.Binder.transact(Binder.java:1079)
DynamiteClient: at com.google.a.a.a.a(BaseProxy.java:4)
DynamiteClient: at com.google.vr.dynamite.client.b.initializeAndLoadNativeLibrary(INativeLibraryLoader.java:9)
DynamiteClient: at com.google.vr.dynamite.client.DynamiteClient.loadNativeRemoteLibrary(DynamiteClient.java:35)
third_party/arcore/java/com/google/vr/dynamite/client/native/dynamite_client.cc: Dynamite::LoadNativeRemoteLibrary handle=0
third_party/arcore/ar/core/android/sdk/session_create.cc: Dynamite failed to load remote library
third_party/arcore/ar/core/android/sdk/session_create.cc: LoadSymbolsDynamite returning AR_ERROR_FATAL.
third_party/arcore/ar/core/android/sdk/session_create.cc: LoadSymbols returning status.
UE4 : LogGoogleARCoreAPI: Error: ArSession_create returns with error: -2