ARCore SDK for Android v1.29.0
Known issues
- None
Breaking & behavioral changes
- Beginning in November 2022, AR-enabled apps will no longer be able to acquire NDK images or image metadata. The SDK versions impacted depend on the specific function being called, see the deprecation announcement to learn more.
- C: Calls to
ArImage_getNdkImage
andArImage_getNdkCameraMetadata
will always returnnullptr
for theAImage
andACameraMetadata
objects. - Java: The
Image
object returned byFrame#acquireCameraImage()
will be of size0
x0
pixels. Calls toFrame#getImageMetadata()
will always throwIllegalArgumentException
. - Unity (AR Foundation):
- When using AR Foundation 2.1 (Unity 2019 LTS), calls to
XRCameraSubsystem.TryGetLatestImage(out XRCameraImage)
will always returnfalse
. - AR Foundation 4.x and later versions are unaffected, calls to
XRCameraSubsystem.TryGetLatestImage(out XRCameraImage)
will behave normally.
- When using AR Foundation 2.1 (Unity 2019 LTS), calls to
- ARCore SDK for Unity (deprecated): Calls to
Frame.CameraImage.AcquireCameraImageBytes()
will be of size0
x0
pixels. Calls toFrame.CameraMetadata.GetAllCameraMetadataTags()
will return an emptyList<CameraMetadataTag>
.
- C: Calls to
- ArImage#getCropRect() now returns a full-sized crop rectangle, i.e. all pixels in the Image are valid. See
android.media.Image#getCropRect()
for additional information.
Other changes
- hello_ar_java and hello_ar_kotlin: Changed an object's color when it is placed using
SCREENSPACE_WITH_APPROXIMATE_DISTANCE
to better distinguish objects placed using Instant Placement.
Bug fixes
- persistent_cloud_anchor_java: Added a missing build dependency to the sample. Fixes a bug where hosting any anchor would have state
CloudAnchorState ERROR_NOT_AUTHORIZED
even if the project was set up correctly.