The Motive SDK works with Unity’s XR Plugin system. Follow these steps to set up the Oculus XR Plugin.
Install XR Plugin Management
Navigate to Project Settings (Edit > Project Settings)
Select XR Plugin Management and click “Install XR Plugin Management” if it is not already installed.
Select “Oculus” as a Plug-in Provider.
[Optional] Click Window > Analysis > Input Debugger.
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/