Unspoken Steps for VR Headset Setup for Unity: Unity VR/XR Developer

Hello. I have been going through the Unity VR/XR Developer course but I was stuck at the very beginning. I have still been having trouble with setting my Meta Quest 2 with Unity like many other students seem to be having. Turns out there were quite several unspoken hoops to jump through to best get it set up, unfortunately! In the opening lecture, he gives us a “challenge” to set up our VR headsets with Unity, but it is not that simple, and may even includes some monetary investments before proceeding (will explain later). First, I’ll add what I have found out as necessary unspoken steps here to get things properly set up (this is what you should do at 11:21 or so):

  1. Set up account on Oculus app on your PHONE. Follow the instructions to get your headset connected to it (easiest part)

  2. Play around with the settings once your headset is connected so that it is comfortable. You may notice some discomfort with the tightness of the headband, issues if you have glasses, etc. I would recommend buying some additional items ASAP that may help in this area:
    A good example for MQ2: https://youtu.be/g-RXSWHUwzw?si=5_f9F06Mj_8mZDTt

  3. -Set up “Developer Mode”: You can’t turn on the Developer Mode from the headset (unlike most other devices), you need to create a developer account on Meta (using your Facebook account), then use this account to log in to the Quest app on your phone or on your PC Oculus application. Also, you will need to create an organization on your developer account.

  4. Pair the Headset with your Computer: Then from the app, you need to first pair the device (PLEASE, use USB-C or connect it to USB3 ) to link your device. If you use Airlink, you will later have problems with Unity not finding your headset. From personal experience, it seems easiest to connect and program with Unity when it is connected via a Male-Male USB-C Cord.
    Example of one to buy: https://a.co/d/1YKlgtP | make sure it is LONG ENOUGH for you.

4b. Download Oculus app on your Computer: I’m personally finding it much easier to connect with the Oculus app downloaded not just on your phone but on your computer too.
Links for Meta: https://www.meta.com/quest/setup/

  1. Activate Developer Mode: Once it is linked, you need to activate the developer mode from the “Device” tab on the left side of the PC app.

  2. XR Runtime - The most important step is to set your device for Open XR runtime. You will find this on the Quest app > Device> settings as well. If you miss this step, you will not be able to run your app on the headset.
    Another helpful link: How to Setup Oculus Quest 2 for Development in Unity Under 20 Minutes

Out of all these steps, it is definitely worth noting that a USB-C cord is highly recommended to purchase, as well as some of these other nuances. I had to spend several hours of my day attempting to figure all this out, so I hope other people find this helpful too! If anyone else has something to add please feel free to.

1 Like

Thanks, that is a great set of steps to follow. Regarding airplay, this works nicely as I was using it due to an issue with by usb setup. A firmware update corrected the issue later.

The key is to be within 3m of the router and ideally your computer is wired to the router.

The cable USB c to USB c is fine if you have a port (which I don’t) but I do have USB 3.2 which is fine so a good 5m long cable that has USB a to USB c will work too.

Privacy & Terms