Android XR Extensions for Unreal Engine quickstart

Applicable XR devices
This guidance helps you build experiences for these types of XR devices.
XR Headsets
Wired XR Glasses

This quickstart guides you through importing the Android XR Extension Plugin for Unreal Engine and then configuring your project settings.

Prerequisites

Before completing these steps, make sure you've completed the steps described in Unreal Engine project setup.

Add the Android XR Extension for Unreal Plugin

The Android XR functionality for Unreal Engine is delivered as a vendor plugin that provides OpenXR extension support.

  1. Create a Plugins folder in your Unreal project's root directory if it doesn't already exist.
  2. Clone the android-xr-unreal-vendor-plugin repository into the Plugins folder:

    git clone https://github.com/android-xr/android-xr-unreal-vendor-plugin
    
  3. Restart the Unreal Editor.

  4. If you're prompted to rebuild missing modules, click Yes.

Configure project settings

After the plugin is added, you must enable it within the editor:

  1. Go to Edit > Plugins.
  2. Search for the Android XR or OpenXR extensions, and then enable them.
  3. In Project Settings, navigate to the Android platform section.
  4. Make sure that Minimum SDK Version and Target SDK Version are set to at least 34.