Version: Unity 6.5 Alpha (6000.5)
Language : English
Develop for Android XR
Packages and templates for Android XR development

Android XR build profile

Understand how to configure the Android XRAn umbrella term encompassing Virtual Reality (VR), Augmented Reality (AR) and Mixed Reality (MR) applications. Devices supporting these forms of interactive applications can be referred to as XR devices. More info
See in Glossary
build profile.

Unity supports development for headsets running Android XR. In Unity 6.1 and later, you can use the Android XR build profile in the Build ProfilesA set of customizable configuration settings to use when creating a build for your target platform. More info
See in Glossary
window.

The following sections outline Unity’s resources and packages to develop for Android XR devices.

Prerequisites

Android XR build profile

By default, the Android XR platform shares Player settingsSettings that let you set various player-specific options for the final game built by Unity. More info
See in Glossary
with the Android build platform. You can use the Android XR build profile to override project settingsA broad collection of settings which allow you to configure how Physics, Audio, Networking, Graphics, Input and many other areas of your project behave. More info
See in Glossary
specifically for Android XR.

Create the Android XR build profile

Create the Android XR build profile in the Build Profiles window, as outlined in Create and manage build profiles.

Customize build profile settings

In the Android XR Build Profile tab, you can configure the following settings:

  • Platform Settings: customizable build settings specific for the Android XR platform. These settings aren’t shared by the Android build platform. Refer to Android build platform for details on these options.
  • Player Settings, Graphics Settings, and Quality Settings: shared with the Android build platform by default. You can customize and override these settings for the Android XR platform. To override these settings, select the relevant override option from the Player Settings Overrides section to reveal the override options. Refer to Overrride settings with build profiles to learn more.

Android XR platform settings

  • The Android XR build profile adds a new Android XR (Build Profile) Quality level (Project Settings > Quality Settings). You can modify the quality settings.

  • When you first swap to the Android XR build profile, Unity enables Android XR features and Foveated Rendering. These features remain enabled for the Android XR build profile when you swap to a different build target.

Additional resources

Develop for Android XR
Packages and templates for Android XR development