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.