This repository has been archived by the owner on Sep 14, 2021. It is now read-only.
ARCore SDK for Unity v1.21.0
Upcoming breaking change affecting Cloud Anchors apps built using ARCore SDK 1.11.0 or earlier
Beginning in December 2020, AR-enabled apps built using ARCore SDK 1.11.0 or earlier will no longer be able to host or resolve Cloud Anchors. Specifically, Cloud Anchors returned by XPSession.CreateCloudAnchor(Anchor)
and XPSession.ResolveCloudAnchor(string)
will always have the state CloudServiceResponse.ErrorInternal
.
Apps built with ARCore SDK 1.12.0 or later are unaffected. Their use of Cloud Anchors APIs is covered by the Cloud Anchors deprecation policy.
Known issues
- Apps may crash when calling
Application.Quit()
. This affects all ARCore app. See details in Unity's Issue Tracker. - Issue 141500087: When using Android Emulator
x86_64
system images on macOS with ARCore SDK 1.16.0 or later, Google Play Services for AR will crash. As a workaround, use anx86
system image.
Breaking & behavioral changes
None.
New APIs and capabilities
- Added Recording and Playback of ARCore datasets. The Recording feature lets the app capture the data required to replay the AR session. Developer guide,
Session.RecordingStatus
,Session.StartRecording(ARCoreRecordingConfig)
,Session.StopRecording()
,Session.PlaybackStatus
,Session.SetPlaybackDataset(string)
. - Added new APIs for Stereo Camera usage in
CameraConfigFilter
andCameraConfig
: Developer guide, addition ofStereoCameraUsage
property toCameraConfig
,ARCoreCameraConfigFilter.StereoCameraUsage
.- Support for stereo camera depth is expected to become available in ARCore SDK 1.22.0.
Deprecations
None.
Other changes
- Changes to the HelloAR sample:
- Added a Depth check to reduce unnecessary logging.
- Added a setting to toggle Instant Placement mode.
- Changed minimum supported version of Unity to 2017.4.40.
Bug fixes
None.