06-04-2023 07:07 PM
Hi there,
When developing Oculus MR application in Unity using Oculus SDK, we can see the room data previously set up in the headset using Oculus Link in Unity editor, but after packaging the game as apk and run it on Oculus quest 2 headset, the MR application can't get the room data that has been set up. It will jump to the room settings in the system. After we finish the setting, click the Finish button and return to our MR application, it still do not have the room data.
We printed the log in the UpdateHMDEvents in the OVRManager.cs file, and found that the data.Result=-1000 in the case of OVRPlugin.EventType.SpaceQueryComplete when packaged into the apk, which is different from the one printed when using the Oculus Link function in the Unity editor.
Oculus quest 2 system versions we have tried: V50, V51, V53
Oculus SDK versions tried: V50, V51, V53
Unity version: 2021.3.16f1
We would truly appreciate you help on how to fix the problem.
Thanks and best regards