Skip to content

Repository files navigation

Android XR Extensions for Unity

The Android XR Extensions for Unity provide APIs for the following:

  1. Session Management: required for all Android XR Extensions' features.
  2. Object Tracking.
  3. Marker Tracking.
  4. QR Code Tracking.
  5. Scene Meshing.
  6. Unbounded Reference Space.
  7. Passthrough Composition Layer.
  8. Body Tracking (Experimental).
  9. Recommended Settings.
  10. Fine Eye.
  11. XR Streaming.
  12. Cubemap Light Estimation.
  13. Trackpad Gestures Interaction.
  14. Google Cloud.
  15. Geospatial.
  16. Battery State Display
  17. Multimodal Face Tracking

How to use

  1. In Window > Package Manager, click the + button, and choose the Add package from tarball... option to import Android XR Extensions for Unity package.

  2. In Project Settings > XR Plug-in Management, switch to Android tab, then check OpenXR as the plug-in provider at OpenXR runtime.

  3. Under XR Plug-in Management > OpenXR, switch to Android tab, select Android XR (Extensions) feature group, or select individual features that you want to use at OpenXR runtime.

    NOTE: Some of them might have additional requirements or configuration, refer to the README.md from each sample for more details. All samples use URP material so please ensure your project is using URP.

  4. Under XR Plug-in Management > Project Validation, fix all OpenXR related issues. This will help to configure your Player Settings.

  5. In Player > Android > Identification > Minimal API Level, select 24 or higher level. This is required by OpenXR Loader. Otherwise, it can fail the build.

  6. Build your project targeting Android platform.

About

No description or website provided.

Topics

Resources

Contributing

Stars

92 stars

Watchers

14 watching

Forks

Releases

Packages

Used by

Contributors

Languages