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.
- Create a
Pluginsfolder in your Unreal project's root directory if it doesn't already exist. Clone the android-xr-unreal-vendor-plugin repository into the
Pluginsfolder:git clone https://github.com/android-xr/android-xr-unreal-vendor-pluginRestart the Unreal Editor.
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:
- Go to Edit > Plugins.
- Search for the Android XR or OpenXR extensions, and then enable them.
- In Project Settings, navigate to the Android platform section.
- Make sure that Minimum SDK Version and Target SDK Version are set to at least 34.
Next steps
After installing and enabling the Android XR Extensions plugins, explore the following resources to start building and testing your app:
- Explore the Android XR Extensions for Unreal API reference for the Blueprint function libraries, subsystems, and components available for each extension.
- Review the supported OpenXR extensions to see which Unreal classes and OpenXR extensions are available for each capability.
- Set up Direct Preview for Unreal Engine to stream and test your project live from the Unreal Editor on an Android XR device.