We all hate wires right? They can get tangled easily and they look messy. When we have too many wires/cables on our desk we tend towards going wireless, I guess. I use a wireless keyboard and mouse, wireless charging port for my phone and in fact, I bought an Oculus Quest 2, which can be used without connecting cables to the PC/Laptop.
Now when it comes to VR development, wouldn’t it be easy if you could directly test your Unity scene on the headset wirelessly? That’s possible now if you own an Oculus Quest 2!
Until recently your Oculus Quest / Quest 2 had to be connected to the PC/Laptop via a link cable to play PCVR games or to test Unity scenes. But now with the beta feature called Air Link, we can play or test games/projects wireless on the headset. So let's see how that's done.
Prerequisite: You need to have Steam VR downloaded and installed. Also, make sure to have a shortcut for that on your desktop.
We need to first download and install the Oculus Quest 2 Desktop app.
That concludes the Air Link setup. Next, we’ll see how to set up Unity to make sure it works with Oculus.
You need to have your Unity project already set up for VR in general. If you are not sure how that’s done then you can check our blog on that before proceeding further.
I have set up my scene with an XROrigin including continuous movement locomotion system and a helmet prefab which can be grabbed. Before we can test your scene on our device, we need to make sure the project is set up correctly.
That’s all we need to do to make sure it works correctly. Next, we’ll see how to test the scene on the headset wirelessly.
Finally, we have arrived at the section you have been waiting for. For this you need to wear your headset and do as follows:
That was so convenient, right? It really helped me in my development process, I could test scenes comfortably without having to worry about cables or having to fear knocking something down the table.
Also, this procedure is almost the same for playing PCVR games on Oculus without a link cable. After launching Steam VR, you can press the Menu button on the left controller to open the steam library and you can choose the game you want to play.
If you've enjoyed the insights shared here, why not spread the word? Share the post with your friends and colleagues who might also find it valuable.
Your support means the world to us and helps us create more content you'll love.