What's new in version 6.0
This release includes the following significant changes:
Added
- Added support for the
XRCameraSubsystem.GetShaderKeywordsAPI toARKitCameraSubsystemandARKitOcclusionSubsystem.
Changed
- Upgraded minimum Unity version from 2021.2 to 2023.3.
Deprecated
- The following subsystems were deprecated and renamed for consistency with other subsystems. Unity's API Updater should automatically convert any deprecated APIs references to the new APIs when the project is loaded into the Editor again.
ARKitXRObjectTrackingSubsystemrenamed toARKitObjectTrackingSubsystem.ARKitXRPlaneSubsystemrenamed toARKitPlaneSubsystem.ARKitXRPointCloudSubsystemrenamed toARKitPointCloudSubsystem.
Removed
- The following previously deprecated APIs were removed. If your code uses any of these APIs, you must upgrade to the recommended replacement instead.
| Obsolete API | Recommendation |
|---|---|
ARKitSettingsProvider |
This class is now deprecated. Its internal functionality is replaced by XR Management |
NSError.IsNull |
Compare with null instead, e.g., error == null. |
ARKitErrorCode.CollaborationDataUnavailable |
Use InvalidCollaborationData instead. |
ARKitSessionSubsystem.coachingGoal |
Use requestedCoachingGoal or currentCoachingGoal instead. |
- Removed the
Descriptionattribute fromARMeshClassificationenum as the attribute was unused.
For a full list of changes in this version including backwards-compatible bugfixes, refer to the package changelog.
Apple and ARKit are trademarks of Apple Inc., registered in the U.S. and other countries and regions.