Build your app as an APK and deploy it directly to the headset over USB. This Quickstart uses Build and Run for native on-device validation. Before release, test a device build on a Meta Quest headset.
Best for: Native on-device validation before release.
Limitations: Unity compiles the project, packages an APK, transfers it over USB, and launches it. To test a change with this method, create and deploy another build.
Before testing on a headset, make sure hand tracking is enabled on the device. On the headset, go to Settings > Movement tracking > Hand and body tracking and turn it on. Leave Auto Switch Between Hands And Controllers selected so you can freely switch input methods.
Connect your headset
Connect your headset to your computer with a data-capable USB-C cable.
If you have not yet enabled
Developer Mode and USB debugging, follow
Software Setup.
Open Build Profiles
In Unity, open File > Build Profiles.
Under Platforms, select Meta Quest and click Enable Platform. If the profile is already installed, click Switch Platform.
Click Open Scene List, select the scenes to include, and click Add Open Scenes.
The Build Profiles window shows Meta Quest marked Active and the scene in Scene List.
Select your device
In the Build Profiles window, open the Run Device dropdown and select your Meta Quest headset.
The Run Device dropdown lists the connected headset.
If your headset does not appear, click
Refresh. If it still does not appear, confirm that the data cable is connected and that you completed
Software Setup.
Build and Run
Use these steps to build and test the interactions from
Interaction Setup on your headset.
In the Build Profiles window, click Build and Run.
In the file dialog, choose a location and filename for the APK. Wait while Unity compiles your project, builds the APK, deploys it to the headset, and launches it.
Put on the headset and confirm that the app displays your UI.
Poke the button and confirm that it responds.
Use a hand ray and pinch to select the button or move the slider. Confirm that the selection registers or the slider thumb moves.
Select the toggle and confirm that its state changes.
If you added the grab handle on an eye-tracking device, target the handle, pinch to grab it, and move your hand. Confirm that the panel follows the handle.
For any troubleshooting issues, see: