Activate Oculus Utilities Plugin with OpenXR

The Oculus Integration package offers you to use OpenXR to activate the Oculus Utilities Plugin. It includes the necessary resources to use the OpenXR API for VR apps development for Oculus Quest and Oculus Quest 2. OpenXR offers an alternate development path that allows developers to create portable code that can be used on devices from multiple vendors. For more information about OpenXR, go to the OpenXR Specification.

Note: The feature is currently set as experimental. You may encounter stability issues or limited support for certain functionalities.

Enable OpenXR

OpenXR experimental feature is available on Oculus Integration v23 or higher and supports Unity version 2019.4 or higher.

  1. Open the Unity project and download the Oculus Integration v23 or higher package.
  2. Set the target platform as Android.
  3. Enable VR using XR Plug-in Management. The Oculus Utilities plugin with OpenXR only supports XR Plug-in Management and does not support XR enabled using the legacy option.
  4. On the Oculus menu, go to OpenXR on Quest (Experimental) > Activate Oculus Utilities with OpenXR.
  5. Click OK to acknowledge the warning message about OpenXR being under an experimental state.
  6. Click OK to acknowledge the confirmation.

To check whether OpenXR is enabled:

  1. In the Project window, expand Assets > Oculus > VR > Plugins > plugin version > AndroidOpenXR.
  2. Click OvrPlugin to open OVRPlugin settings in the Inspector window.

    The Android checkbox is selected, which indicates that OpenXR is enabled.

Restore Standard OVRPlugin

You can restore the standard OVRPlugin anytime you like.

  1. On the Oculus menu, go to OpenXR on Quest (Experimental) > Restore Standard Oculus Utilities Plugin.
  2. Click OK to acknowledge the confirmation.

To check whether standard OVRPlugin is restored:

  1. In the Project window, expand Assets > Oculus > VR > Plugins > plugin version > AndroidUniversal.
  2. Click OvrPlugin to open OVRPlugin settings in the Inspector window.

    The Android checkbox is selected, which indicates that the standard OVRPlugin is enabled.

Known Missing Features

Considering that the availablity of OVRPlugin with OpenXR is under experimental state, there are a few known features that are not supported. The list includes FFR, OVROverlay, Near touch buttons, and Hand tracking.