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):
-
Set up account on Oculus app on your PHONE. Follow the instructions to get your headset connected to it (easiest part)
-
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 -
-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.
-
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/
-
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.
-
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.