Forum Discussion

debarjo's avatar
debarjo
Explorer
19 days ago
Solved

Experiencing soLoader issues with Meta Spatial SDK v0.10.0 update

Hello,

I am trying to update my apps from Meta Spatial SDK from v0.9.2 to v0.10.0 and when deploying and running it on the Quest 3 headset, the application will crash and exit as soon as VrActivity runs onCreate. 

I am observing the following error on logcat:

Abort message: 'JNI DETECTED ERROR IN APPLICATION: JNI NewGlobalRef called with pending exception java.lang.ClassNotFoundException: Didn't find class "com.facebook.soloader.MergedSoMapping$Invoke_JNI_OnLoad" on path: DexPathList[[zip file "/data/app/REDACTED_MY_APP/base.apk"],nativeLibraryDirectories=[/data/app/REDACTED_MY_APP/lib/arm64, /data/app/REDACTED_MY_APP/base.apk!/lib/arm64-v8a, /apex/com.meta.xr/priv-app/VrDriver/VrDriver.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]

The changes I did are minimal (version update on libs.versions.toml and XML component definitions and removing deprecated APIs). I tested also compiling several of the updated examples from the Meta-Spatial-SDK-Samples (such as  MrukSample) and had the same behaviour: apps compile, deploy, open but crash as soon as entering in VR. 

Is anyone else having the same issue or is there anyone that was able to update successfully and run apps using the Meta Spatial SDK v0.10.0?

Happy to provide further details if needed.

Thanks in advance.

→ Find helpful resources to begin your development journey in Getting Started

→ Get the latest information about HorizonOS development in News & Announcements.

→ Access Start program mentor videos and share knowledge, tutorials, and videos in Community Resources.

→ Get support or provide help in Questions & Discussions.

→ Show off your work in What I’m Building to get feedback and find playtesters.

→ Looking for documentation?  Developer Docs

→ Looking for account support?  Support Center

→ Looking for the previous forum?  Forum Archive

→ Looking to join the Start program? Apply here.

 

Recent Discussions