Configuring Oculus XR Plugin

The Motive SDK works with Unity’s XR Plugin system. Follow these steps to set up the Oculus XR Plugin.

 

Install XR Plugin Management

  1. Navigate to Project Settings (Edit > Project Settings)

  2. Select XR Plugin Management and click “Install XR Plugin Management” if it is not already installed:

  3. Select “Oculus” as a Plug-in Provider:

     

  4. [Optional] Click Window > Analysis > Input Debugger

  5. Under “Options” enable “Lock Input to Game View”:

     

This feature directs all XR input to the game view while in play mode. If you do not take this step, the scene will freeze any time you click away from Unity.

You should now be able to click “Play” and view the scene in any connected Oculus device (Rift, Quest vis Link, etc).

Configuration

Make sure to follow these best practices for Oculus configuration:

https://developer.oculus.com/documentation/unity/unity-conf-settings/

Related Articles

Configuring HTC Vive Wave XR Plugin

Configuring Pico Neo 3

Configuring SteamVR

Configuring Pico Open XR