DEV Community

Kurt Frey
Kurt Frey

Posted on

Help me clarify things: Developing for the Oculus Go with Unity on Windows

I wanted to make a simple VR app for my Oculus Go and had to setup my environment beforehand. This tutorial tries to simplify the mentioned reference tutorial.

⁉️ Some sections of this tutorial are not exactly clear to me because I had to try things out. They are marked with this symbol: ⁉️. Please, help me improve those sections with comments.


  1. You own an Oculus Go
  2. You own a Windows PC
  3. Unity installed (In this case: 2019.3.3f1)
  4. Chocolatey installed


Chocolatey installations

  1. choco install -y adb android-sdk

Manual installations

Android SDK

When I first followed the reference tutorial, this step was not necessary to deploy to the Oculus Go. Since the reference tutorial considers it crucial, I will include those two steps, because nothing broke once I did it.

⁉️ I‘m not sure if performing the following steps makes choco install adb obsolete.

  1. Run C:\Android\android-sdk\tools\bin\sdkmanager.bat platform-tools
  2. Run C:\Android\android-sdk\tools\bin\sdkmanager.bat "extras;google;usb_driver"

Oculus drivers

  1. Browse [] and download the ZIP
  2. unzip
  3. goto usb_driver
  4. Right-click on android_winusb.inf > Install

Plug in your Oculus Go

Since the "allow file access" dialog did not appear once the developer account was enabled, I left it diasabled until the last step.

  1. Plug in your Oculus Go
  2. Allow file access on the Oculus Go
  3. Enable developer mode via the Oculus app
  4. Run add devices
  5. Allow access on the Oculus Go

Setting up Unity

When installing Unity via the Hub, make sure to also install the Android tools. If it didn't work - and in my case it didn't - download via the link in File > Build Settings and install them.

  1. Create a new 3D Project
  2. In Edit > Preferences > External Tools disable built-in JDK and built-in Android SDK ⁉️
  3. Click browse next to JDK and Android SDK and either search for your JDK and Android SDK or accept the path Unity found (recommende if Unity actually found something) ⁉️
  4. Go To File > Build Settings
  5. Click on Android and "Switch Platform" if necessary
  6. Go To Edit > Project Settings > Player
  7. Enter your Company Name, scroll to XR Settings and activate "Virtual Reality Support"
  8. Add Oculus via the plus symbol to the right under "Virtual Reality Support"


  1. Go to File > Build Settings
  2. Click Build and Run
  3. Enjoy the VR app

And now?

  1. Use the Oculus Utilities from the asset store and implement all it‘s features.
  2. Make a 360 degree image the skybox like here: []
  3. Make a Raycast like here: []


Reference Tutorial

Top comments (0)