Tutorials Unity

Screencasting Oculus VR to Computer with abd

Android Debug Bridge (adb) makes it easy to share your Oculus VR experiences with clients over the internet. This screencasting tool comes in handy when you want to show clients in a video call (like Zoom or Teams) what you are looking at through your Oculus headset.


Confirm Connection

Turn on your Oculus Headset & connect it to your PC via USB. Confirm that you have enabled developer mode on your Oculus device via the Oculus mobile app & allowed USB debugging on your headset.

Open Terminal/Command and cd into the the location where adb is installed on your computer. In my case I would type ‘cd C:\adb\adb’ & press Enter.

Next, type ‘adb devices’ & press Enter. You should see the device listed in the results.

If you don’t have adb installed, you’ll get an error instead of the list of devices. Here is where you can download Android Debug Bridge (adb).

Connect Wireless

Locate & open your adb folder in your local directory. Double click on ‘Connect Wireless adb’ (with your headset still connected).

Wait for a message in Terminal saying: “You can now disconnect your device from your computer and run the ‘Cast to your PC.bat’ file.”

When you see it, disconnect the headset. Wait 5 seconds or so before moving to the next step.

NOTE: This magic happens with wifi. If you get an error saying ‘returned with a value of 1’ confirm your headset is connected to wifi and that both the headset and the computer you are casting are on the same local IP address.  You can manually edit the IP address of the headset to match in the ‘Connect to Wireless adb’ file.

Cast to PC

Go back to the adb devices folder in your directory and locate “Cast to Your PC”. Double click on it and put on your headset to start casting!




I hope this information makes it easier for you to share your VR projects with clients, colleagues, and friends. Need help? I’d love to hear from you to ensure I keep this tutorial as helpful as possible.

You May Also be Interested In...