Forum Discussion

itsjoopark's avatar
itsjoopark
Honored Guest
3 years ago

Need help figuring out how to enable the OpenXR Runtime "Set Oculus as active" option

I am trying to connect my unity editor to my Meta Quest 2 to rapid run and test out my VR apps. However running into issues with the set up. The "set oculus as active" option on my Oculus desktop app is not enabling or responding. This seems to be a key problem. I am not sure why, here are some videos from my end: 

1. Oculus Desktop App / https://youtu.be/c5zleDI-EIg 
2. Unity Editor Settings / https://youtu.be/2qB6kau6bdQ 

4 Replies

  • Hi itsjoopark  - this is pretty surprising. It is almost as-is the Oculus service is not installed correctly and not able to make administrative changes to the Windows registry.

    Logs telling you the specific problem will be available at `%LOCALAPPDATA%/Oculus/OVRRedir_*.log`

    Alternatively, you can manually set the location of the OpenXR runtime in the Windows registry:
    The key is `HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenXR\1` `ActiveRuntime` and the value should be `C:\Program Files\Oculus\Support\oculus-runtime\oculus_openxr_64.json`.

    Please let know if either of these solutions work for you or if the logs reveal some specific issues that can be resolved for all users.

    Thanks,

    John

  • Desl8's avatar
    Desl8
    Honored Guest

    Having this same issue, OpenXR folder is missing from the reg editor, or at least from Khronos. Are there any fixes to this?

    • Desl8's avatar
      Desl8
      Honored Guest

      I just came back because I fixed the issue myself. It looks like you can get the registry to install by installing OpenXR for Windows Mixed Reality on Microsoft store. Then go into regedit and the folder should be there, set up for Windows Mixed Reality. Replace the path with your Oculus runtime path and then delete the WMR stuff because WMR sucks.