https://github.com/android/android-xr-unity-package
https://github.com/android/android-xr-unity-package
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/android/android-xr-unity-package
- Owner: android
- License: other
- Created: 2024-11-25T20:30:22.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-09T01:26:21.000Z (9 months ago)
- Last Synced: 2025-04-09T02:28:01.574Z (9 months ago)
- Language: C#
- Size: 21.3 MB
- Stars: 43
- Watchers: 9
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Android XR Extensions for Unity
The Android XR Extensions for Unity provide APIs for the following:
1. Anchor.
2. Object Tracking.
3. Passthrough Composition Layer.
4. Plane.
5. Session Management.
6. Face Tracking.
7. Unbounded Reference Space.
8. Environment Blend Mode.
9. Foveation (Legacy).
10. Mouse Interaction Profile.
## 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 your want to use at OpenXR runtime. Some of them might be incompatible
with another, refer to the *README.md* from each sample for more details.
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.