docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Unity OpenXR: Android XR

    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 OpenXR Plug-in.

    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 OpenXR.

    Visit the Get started section to understand how to set up your project.

    Features

    This package implements the following AR features:

    Feature Description
    Session Enable, disable, and configure AR on the target platform.
    Camera Render images from device cameras.
    Plane detection Detect and track flat 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)
    Hand mesh data Use hand data for occlusion Hand mesh data
    Foveated rendering (OpenXR) Optimize rendering on XR devices. Eye tracking and foveated rendering (Android XR)
    Multiview Render Regions (OpenXR) Optimize rendering to prevent processing on areas of the screen not visible. Multiview Render Regions (Android XR)
    Display Utilities Get the supported display refresh rates for the device and request a display refresh rate. Display Utilities (Android XR)
    Spacewarp Use spacewarp to help maintain high frame rates. Spacewarp (Android XR)
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)