Deploying to Quest — MRTK2

A Meta Quest (1 or 2) is required.

Setting up project for the Quest

  1. Follow these steps to ensure that your project is ready to deploy on Quest.
  2. Ensure that developer mode is enabled on your device. Installing the Oculus ADB Drivers is optional.

Setting up the scene

  1. Create a new Unity scene or open a pre-existing scene like HandInteractionExamples.
    1. If creating a new scene, add MRTK to the scene by navigating to Mixed Reality Toolkit > Add to Scene and Configure.

MRTK integration

MRTK's support for Quest devices comes via two different sources: Unity's OpenXR Plugin package for the XR SDK pipeline and the Mixed Reality OpenXR Plugin package. The OpenXR XRSDK Data Provider enables the use of both sources and must be used to deploy MRTK on the Quest.

You can use the Mixed Reality OpenXR Plugin to deploy MRTK applications to the Quest. After enabling OpenXR, ensure any required features are enabled (likely "Hand Tracking" and "Meta Quest Support").

Plugin management OpenXR Android

Ensure your profile (if not using the MRTK default) is set up with the OpenXR Device Manager. See Configuring MRTK for the XR SDK pipeline for more information on ensuring your profile is ready for OpenXR.

OpenXR input settings

Build and deploy your project to Quest

  1. Plug in your Quest via a USB 3.0 -> USB C cable

  2. Navigate to File > Build Settings

  3. Change the deployment to Android

  4. Ensure that the Quest is selected as the applicable run device

    Quest Run Device

  5. Select Build and Run

    • You may encounter the following set of build errors when you select Build and Run the first time. It shouldn't prevent deployment. See issue #10449 for more information and potential mitigation options.

    Quest Expected Build Errors

  6. Accept the Allow USB Debugging prompt from inside the Quest

  7. See your scene inside the Quest

Common errors

Quest not recognized by Unity

Make sure your Android paths are properly configured. If you continue to encounter problems, follow this guide.

Look under Edit > Preferences > External Tools > Android:

Android Tools Config