Develop VR games in Unity without a headset
Unity 6, OpenXR, the Meta XR All-in-One SDK, and a simulator that turns your keyboard into controllers. The setup I use to build VR without owning a Quest.
Originally published on Medium.
Contents
Want to build VR games but do not have a headset yet? You can still get started.
Unity, together with the Meta XR Simulator, lets you build and test a VR project on your own computer. You can move through the scene, drive controllers from the keyboard, and see what the player will see — all without putting anything on your head.
This is the setup I use, start to finish: Unity 6 with Android build support, OpenXR, the Meta XR All-in-One SDK, and a sample scene running in the simulator. It takes about an afternoon the first time.
Installing Unity 6 with Android build support
1. Download Unity Hub
- Go to unity.com/download.
- Install it and open Unity Hub.
2. Install Unity 6
- In Unity Hub, open the Installs tab.
- Click Install Editor.
- Select Unity 6 LTS and click Next.
3. Add Android tools
- Check Android Build Support.
- Make sure SDK & NDK Tools and OpenJDK are checked too.
- Click Done to start the install.
4. Create a new Universal 3D project
- Open the Projects tab.
- Click New Project, choose the Universal 3D template, name it, and click Create.
5. Switch the build platform to Android
- In the project, go to File → Build Profiles.
- Select Android in the list and click Switch Platform.
- Wait for Unity to reimport — this can take a few minutes.
Install XR Management and enable OpenXR
- Open Edit → Project Settings.
- Scroll the left sidebar and click XR Plug-in Management.
- Under the Android tab, check OpenXR.
- Unity installs the packages it needs automatically.
- Do the same on the PC/Standalone tab.
Download the Meta XR All-in-One SDK
- Open the project in Unity.
- Go to the Unity Asset Store.
- Search for Meta XR All-in-One SDK.
- Click Add to My Assets.
- Then click Open in Unity, or go back to Unity's Package Manager.
- In Package Manager, select My Assets.
- Find the SDK, click Download, then Import.
The Meta XR All-in-One SDK is a wrapper package that depends on the latest version of every Meta XR SDK, so one install brings in the whole set.
Use Project Validation to fix errors
- Go to Edit → Project Settings.
- Under XR Plug-in Management, open Project Validation.
- Every issue and missing setting is listed here.
- Click Fix next to each one. Unity handles most of them automatically; a few need a manual setting.
- Do not continue until the list is clean.
Activate the Meta XR Simulator
- In the Unity menu bar, click Meta XR Tools.
- Choose Meta XR Simulator from the dropdown.
- Or just click the computer icon beside Play to toggle it.
- A console message confirms the simulator is on.
Test the setup with a sample scene
- Open Package Manager and select In Project.
- Search for Meta XR Core SDK.
- Open the Samples section.
- Download and import Sample Scenes.
- Open the first imported scene from the Project window.
- Press Play and drive the headset and controllers from the simulator.
Meta Simulator keyboard and mouse bindings
The simulator ships with a full binding reference under Input Bindings. The ones worth memorising:
- Right mouse button (hold) rotates the view; double-click enters and exits rotation mode, as does Esc.
- Arrow keys rotate too. W / A / S / D moves, the scroll wheel moves forward and back, middle mouse pans, Q / E tilts.
- B maps to A / X and N maps to B / Y.
- Left mouse is the index trigger; T is the same trigger on the other hand.
- Middle mouse (double) holds the grip; U is the grip button.
- Y / H / G / J drive the thumbstick, and I presses it.
- M opens the menu.
That is the whole setup. You now have Unity, the XR tooling, and a way to test headset and controller input from a desk — which is the part that makes prototyping practical for one person on a laptop.
First published on Medium in March 2025. Screenshots are from Unity 6 (6000.0.42f1) and Meta XR SDK 74.
