ARCore SDK for Android v1.28.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.
New APIs and capabilities
- None
Deprecations
- None
Other changes
- None
Bug fixes
- None