Unity OpenXR: Android XR
Important
This package is available as an experimental package, so it's not ready for production use. The features and documentation in this package might change before it's verified for release.
The Unity OpenXR: Android XR package enables Android XR device support for your AR Foundation projects. This package depends on both AR Foundation and the Open
Refer to the Google's Android XR developer documentation for more information about the Android XR platform.
Get started
To understand how to install the Android OpenXR package, refer to Install Android Open
Visit the Get started section to understand how to set up your project.
Features
This package is dependent on both AR Foundation and the Open
Feature | Description |
---|---|
Session | Enable, disable, and configure AR on the target platform. |
Camera | Render images from device cameras. |
Device tracking | Track the device's position and rotation in physical space. |
Plane detection | Detect and track surfaces. |
Face tracking | Detect and track human faces. |
Ray casts | Cast rays against tracked items. |
Anchors | Track arbitrary points in space. |
Occlusion | Allow 3D objects to appear in front of or behind objects in physical space. |
When used with certain OpenXR features from other XR packages, Google's Android XR runtime exhibits unique behaviors, as explained in the following table:
Feature | Description | Unique behavior |
---|---|---|
Hand tracking (XR Hands) | Detect and track human hands. | Hand Tracking (Android XR) |
Foveated rendering (OpenXR) | Optimize rendering on XR devices. | Eye tracking and foveated rendering (Android XR) |