You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What's New in Android XR Extensions for Unity v1.5.0
New Features & APIs
Android XR Spatial Entities Feature Set:
Groups Spatial Entity framework features; can be used standalone or alongside com.unity.xr.spatialentities-openxr (6.6.2). Includes a new SpatialEntities sample.
Spatial Entities (Extensions): Bounding Box: Added 3D bounding box detection support using the Spatial Entity framework.
Spatial Entities (Extensions): Shareable Anchors: Added XRShareableAnchorSubsystem and ARShareableAnchorManager (TryAttachGeospatialAnchor, TryAttachSurfaceAnchorAsync, and SpatialShareableAnchorFeature.EnableGeospatialHost).
Spatial Container (XRSpatialContainerFeature):
Render application content within a single spatial container, with APIs to query and request bounds/visibility (TryGetState, TryGetBounds, TryRequestBoundsMode, TryRequestVisibility) and lifecycle callback events (OnSpatialContainerClosed, OnSpatialContainerBoundsChanged, OnSpatialContainerStateChanged, OnSpatialContainerVisibilityRequestDenied, OnSpatialContainerBoundsModeRequestDenied).
Geospatial Enhancements (XRGeospatialManager):
Added plane tracking configuration and status APIs for surface anchors (RequestedPlaneTracking, PlaneTrackingInUse, MaxNumberOfSurfaceAnchors).
Updated the Geospatial sample to demonstrate geospatial anchor usage.
Spatial API Level 4:
Added XRSpatialSdkVersions.XRSpatialApiLevel4 for the latest Android XR OTA releases.
Fixed: Replaced System.Runtime.CompilerServices.Unsafe with Unity.Collections.LowLevel.Unsafe to avoid missing assembly references in projects.
Known Issue: In OpenXR Plugin 1.18.0, deserializing null features in OpenXR Package Settings.asset can throw a NullReferenceException in FeatureHelpersInternal.RefreshAllFeatureInfo.
Workaround: Manually remove null entries in OpenXR Package Settings.asset or delete and regenerate the asset.