mixed-reality

Add the Mixed Reality OpenXR Plugin to your existing Unity project

If you have a Unity project that’s already set up for OpenXR (you have the Unity OpenXR plugin installed and configured) and you want to add the capability to target your app for HoloLens 2 or Windows Mixed Reality headsets, follow the instructions below.

To determine if your project has the Mixed Reality OpenXR plugin installed:

  1. In Unity, on the menu bar, select Edit > Project Settings.
  2. Ensure that you’re on the XR Plug-in Management page with the Universal Windows Platform settings (Windows logo tab) displayed.
  3. If Microsoft HoloLens feature group is grayed out or doesn’t exist, the Mixed Reality OpenXR plugin isn’t installed.

    :::image type=”content” source=”images/028-ms-hololens-feature-group.png” alt-text=”Screenshot of XR Plug-in Management window.”:::

  4. If the plugin is installed, proceed to the section named configure the project to use the Mixed Reality OpenXR Plugin. Otherwise, continue to follow the instructions below.

[!INCLUDE]

Configure the project to use the Mixed Reality OpenXR Plugin

See also