To prepare a project for the Oculus Quest, do the following:
- Having set your Quest/2 to Developer Mode and installed the Android modules and VR template, create a new VR project in Unity.
- When Unity has loaded the new project, open the sample scene (in the Project window, go to the Scenes folder).
- Open the Project Settings window by going to Edit | Project Settings....
- For the XR Plugin Management settings, choose the Android (robot icon) tab and then check the box for your Oculus VR device.
- Open the Build Settings dialog window (File | Build Settings...) and switch Build Target to Android.
- Connect your computer to your Quest headset using a USB-C data cable.
- Put on the Quest headset and confirm you are happy to put the Quest into USB Debug mode and that you accept the connection from the computer.
- Back in Unity, open the Build Settings dialog window. Under the Android...