Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
gurubook's avatar
gurubook
Honored Guest
1 year ago
Solved

On device (Quest3) crash trying to perform Core.Initialize()

Hello
I experience an app crash when trying to execute Oculus.Platform.Core.Initialize(); on device.
App is configured, uploaded to ALPHA release channel and configured, deployed.
The app is working well when launched tethered via Quest Link (with a test account) but fail on device when launched standalone.

The reason reported in logs is a java.lang.ClassNotFoundException while libovrplatformloader is looking up for com.unity3d.player.UnityPlayer.

tried without no success :
- added com.unity3d.player.UnityPlayer to proguard-user.txt

- reduced stripping at min level

- tried a NEW minimalistic project, same results

- tried with Oculus SDK 65 and 66

 Unity version : 2023.2.20f1 

any hints ? 
crashlog :

runtime.cc:669] Pending exception java.lang.ClassNotFoundException: com.unity3d.player.UnityPlayer
CRASH pid: 15771, tid: 15792, name: UnityMain >>> com.noor.ApiTest <<<
#07 pc 000000000008e3b0 /data/app/~~H44prAjbDWvKby6Otkq6oQ==/com.noor.ApiTest-y01jQaTuXAP3N5Drye4C8w==/lib/arm64/libovrplatformloader.so (setupUnityShim+108) (BuildId: fb2ab492b7ca96ec244155ab17122707ecd0e48b)

 

  • I had this issue and could not find a fix on Unity 2023. The only solution I found was to use Unity 2022 : (

2 Replies

Replies have been turned off for this discussion
  • jtriveri's avatar
    jtriveri
    Start Partner

    I had this issue and could not find a fix on Unity 2023. The only solution I found was to use Unity 2022 : (

  • gurubook's avatar
    gurubook
    Honored Guest

    Tank you, switching to Unity 2022 resolved the issue.