Skip to content
This repository has been archived by the owner on Sep 14, 2021. It is now read-only.

ARCore SDK for Unity v1.12.0

Compare
Choose a tag to compare
@noelvictor1 noelvictor1 released this 12 Sep 20:11
· 15 commits to master since this release

Breaking changes

The following changes only affect apps built with ARCore SDK 1.12 or later. Apps built with older SDKs will not be affected by these changes, and will continue to observe old behavior.

  • The data captured by CreateCloudAnchor and uploaded to the ARCore Cloud Anchor API service has changed. See https://developers.google.com/ar/develop/unity/cloud-anchors/overview-unity#how-hosted to learn more.
  • CreateCloudAnchor will no longer timeout or fail when the ARCore Cloud Anchor API service is unreachable, or the anchor cannot be immediately resolved. Instead, the API will continue to attempt to resolve the provided anchors until they are detached.
  • CloudServiceResponse.ErrorServiceUnreachable and CloudServiceResponse.ErrorLocalizationFailed have been deprecated and will no longer be returned.

New APIs

  • Added XPSession.CancelCloudAnchorAsyncTask API so that the resolving Cloud Anchor request can be cancelled and CloudServiceResponse.ErrorRequestCancelled will be returned in this case.
  • Added CloudServiceResponse.ErrorHostingServiceUnavailable to indicate the hosting service unreachable error.

Deprecations

  • CloudServiceResponse.ErrorServiceUnreachable and CloudServiceResponse.ErrorLocalizationFailed enum values in the CloudServiceResponse have been deprecated and will no longer be returned.

Behavioral changes

  • XPSession.ResolveCloudAnchor now continues to retry in background indefinitely until it is successfully resolved, cancelled, or reaches a terminal error state.

Other changes

  • For iOS, changed Podfile to reference new "ARCore/CloudAnchors" subspec.
  • Added a face texture template file, see Assets/GoogleARCore/Examples/AugmentedFaces/Models/canonical_face_texture.psd.
  • Replaced differently colored Andy models in HelloAR and ObjectManipulation samples with one new ARCore 'pawn' model.
  • CloudAnchors sample updates:
    • Added a resolving prepare time so that the app won't start to resolve the anchor until the preparation time passed.
    • Added a customized timeout duration in AnchorController to prevent retrying to resolve indefinitely.
    • Added a return to lobby button in AR screen and the app when disconnected from the server.
    • Added a start screen which displays sharing experience instruction on the first launch.
    • Removed the Assets/GoogleARCore/Examples/CloudAnchors/Scripts/MultiplatformMeshSelector.cs and moved mesh setting logic to StarController and AnchorController to solve the issue where the asset is placed at identity pose.
    • Replaced the boat anchor 3D asset with a new model to emphasize orientation of the Cloud Anchor.
    • Added addition function to AugmentedImageDatabaseInspector.

Bug fixes

  • Fixed bug where configuration is not synchronized after camera direction changed.
  • Fixed invalid assignment of Screen.sleepTimeout in samples.
  • Fixed issue where Assets/GoogleARCore/SDK/Materials/ARBackground.shader doesn't work on devices with Mali GPU when the app renders on OpenGL ES2.
  • Fixed issue where generating an ARCore Bug Report wouldn't work when illegal characters were in PATH.
  • Fixed issue where Augmented Images databases wouldn't recalculate image quality scores after the underlying image had been updated.
  • Fixed #614: Continuous error in logcat: ArLightEstimate_getEnvironmentalHdrAmbientSphericalHarmonics while using IL2PP on 2019.1.