98. Oculus VR

There are two ways of developing for the Oculus Quest, you can:

Name Build Target Details
Oculus Quest Android Standalone
Oculus Link Windows requires a high quality USB3 cable connection to a computer at all times , but has better graphics

Oculus Quest Setup

Using the Oculus Quest Setup is more simple than using the Oculus Link variant (which however offers more powerful graphics). Due to the changing nature of the Oculus ecosystem I recommend you follow their user guide. Please note that you will need to have some Smartphone, that you can pair with the Oculus.

  1. Install Oculus Link
  2. In the installed Oculus Link software go to Settings > Unknown Sources and allow these
  3. On Windows: Install the Oculus ADB Drivers – these will allow you to transfer the build result/Apps to the Device (adb is a Standard command line program used for Android development)
  4. In Unity select the connected VR-Glasses under Build Settings > Android > Run Device > ID
  5. Open Window > Package Manager and search for XR-Plugin Management; Install it
  6. Go to Project Settings > XR-Plugin Management > Android > Oculus and make sure Oculus is checked
  7. For working examples go to the Asset Store and download the Asset Pack Oculus Integration and import it

Check the Example scenes in your Project window under Assets > Oculus > SampleFramework > Usage by doubleclicking any of the Scenes. If in doubt just create a copy of these Scenes (File > Save as) which you modify to taste. Taking things away you don't need from a working example is easier than building things up from scratch yourself.

Fix for invisible Hands

If your Hands are not visible you might have to take these additional steps:

  1. In the Oculus Dashboard create an organization if you don't did so already
  2. In the Dashboard: Additionally create an App (and note down the App-ID)
  3. In the Menu go to Oculus > Avatars and paste the App-ID from step 2 there
  4. In the Menu go to Oculus > Plattform and paste the App-ID from step 2 there

Creative Considerations