Skip to content

ARCore Extensions for AR Foundation v1.16.0

Compare
Choose a tag to compare
@tedruxpin tedruxpin released this 19 Mar 20:00

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.

New APIs

  • New XRCameraConfiguration API: The extended fields of XRCameraConfiguration are accessible by extension methods, including GetTextureDimensions(), GetFPSRange(), and GetDepthSensorUsages().

Deprecations

  • To adapt to AR Foundation's breaking change on renaming the concept of Reference Points to Anchors, the following changes were made on ARCloudReferencePoint APIs:
    • The class ARCloudReferencePoint is deprecated. Use ARCloudAnchor instead.
    • The enum CloudReferenceState is deprecated. Use CloudAnchorState instead.
    • The member ARReferencePointManager.AddCloudReferencePoint(ARReferencePoint) is deprecated. Use ARAnchorManager.HostCloudAnchor(ARAnchor) instead.
    • The member ARReferencePointManager.ResolveCloudReferenceId(string) is deprecated. Use ARAnchorManager.ResolveCloudAnchorId(string) instead.

Other changes

  • Unity 2019.3.0f6 is now the minimum recommended version for ARCore Extensions. AR Foundation 3.1.0-preview.6 requires Unity version 2019.3.
  • The CloudAnchors sample has been updated to use the new ARCloudAnchor APIs, which previously were the ARCloudReferencePoint API.