Unity OpenXR: Spatial Entities
Use the Unity OpenXR: Spatial Entities package to develop cross-platform mixed reality experiences using OpenXR.
The Unity OpenXR: Spatial Entities package implements AR Foundation support for OpenXR runtimes that implement the OpenXR Spatial Entities Extensions (Khronos Blog). OpenXR Spatial Entities extensions are cross-platform extensions that provide spatial computing features on multiple OpenXR runtimes.
Get started
To understand how to install this package, refer to Install OpenXR Spatial Entities.
Visit the Get started section to understand how to set up your project to use this package.
Features
This package defines the following OpenXR features:
| Feature | Description |
|---|---|
| Planes | Track flat surfaces in the environment. |
| Markers | Track AR markers and read their encoded data. |
| Anchors | Track arbitrary points in space. |
Supported runtimes
Unity officially supports this package for use with the Meta Horizon OS and Android XR runtimes, but other OpenXR runtimes may also implement the required extensions. Refer to Architecture to understand more about how this package works with OpenXR.