What's new in version 6.5
This release includes the following significant changes:
API additions
- Added
BoundedPlaneBuilder.WithPoseoverload that takes an OpenXRXrPosefif your app uses OpenXR Plug-in 1.16.0 or newer. - Added
XRAnchorBuilder.FromAnchor, which enables you to initialize all fields of anXRAnchorBuilderfrom a given anchor. - Added
XRResultStatus.StatusCode.NotFoundandXRResultStatus.StatusCode.NotTrackingas a new possible error codes for AR Foundation operations. - Added an implicit operator to convert from
XrUuidtoSerializableGuidif your project uses OpenXR Plug-in 1.16.0 or newer. - Added an
IEquatable<XrUuid>implementation toSerializableGuidif your project uses OpenXR Plug-in 1.16.0 or newer. - Added
XRResultStatus.HasNativeStatusCodeas a convenience method to determine whether a native status code is present.
Behavior changes
Allowing asynchronous subsytem creation
- Changed
SubsystemLifecycleManager.OnEnableto poll for a number of seconds until a subsytem is created before it disables itself, allowing subsystems to be created asynchronously and still connect with their managers.
Deprecations
Other deprecations
- Deprecated and replaced the following properties of XRPlaneSubsystemDescriptor.Cinfo to allow providers to determine at runtime whether AR Foundation plane APIs are supported:
supportsBoundaryVerticestosupportsBoundaryVerticesDelegatesupportsClassificationtosupportsClassificationDelegate
For a full list of changes in this version including backwards-compatible bugfixes, refer to the package changelog.