This repository has been archived by the owner on Sep 14, 2021. It is now read-only.
ARCore SDK for Unity v1.18.0
Upcoming breaking change affecting previously published 32-bit-only apps
In August 2020, Google Play Services for AR (ARCore) will remove support
for 32-bit-only ARCore-enabled apps running on 64-bit devices. Support for
32-bit apps running on 32-bit devices is unaffected.
If you have published a 32-bit-only (armeabi-v7a
) version of your
ARCore-enabled app without publishing a corresponding 64-bit (arm64-v8a
)
version, you must update your app to include 64-bit native libraries before
August 2020. 32-bit-only ARCore-enabled apps that are not updated by this time
may crash when attempting to start an augmented reality (AR) session.
To learn more about this breaking change, and for instructions on how to update
your app, see https://developers.google.com/ar/64bit.
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
targetSdkVersion
inside the ARCore Android Archive (AAR) file has been updated to API level 29. Specifying atargetSdkVersion
in your project'sbuild.gradle
orAndroidManifest.xml
will override the ARCore value.
New APIs and capabilities
- Added new Depth API. Check the list of ARCore supported devices to see which devices support the Depth API.
- New
DepthMode
enum type. - New
DepthMode
property inARCoreSessionConfig
to enable Depth in ARCore session. - Added
Session.IsDepthModeSupported()
to check whether the depth mode is supported on the device. - Added
Frame.UpdateDepthTexture()
to update the input texture using the latest depth data from ARCore.
- New
Deprecations
None.
Other changes
- Added
CloudServiceResponse.ErrorTooManyCloudAnchors
enum value. - The HelloAR sample now includes support for occlusion using the ARCore Depth API.
- Updated C# style for non-public variables and methods. For example,
private float m_Foo
now readsprivate float _foo
andprivate void _Bar()
now readsprivate void Bar()
.
Bug fixes
- Fixed Cloud Anchors Privacy link in the
CloudAnchors
sample app. The incorrect link now redirects to the correct link, so existing apps with the incorrect link don't need to be updated.