Open kyleleetMT opened 4 years ago
I can confirm this still happens with ARCore v1.7 Given that 64 bit builds are becoming compulsory, will we get a fix for this?
It has been half a year, can we get an update for this? As stated above, with 64 bit builds being compulsory, having basic functionality like getting camera meta data that doesn't error on 64 bit is kinda important.
SPECIFIC ISSUE ENCOUNTERED
When using
Frame.CameraMetadata.TryGetValues(CameraMetadataTag.SyncFrameNumber, new List<CameraMetadataValue>())
it will cause a SegFault crash when building with ARM64. When building with ARMv7 it operates fine.It seems the pointer recieved from
ExternApi.ACameraMetadata_getConstEntry
inCameraMetadatApi.TryGetValues()
is invalid on ARM64. It works on ARMv7 implying it is a 32-bit/64-bit pointer issue.Look at CustomArCoreBackgroundRenderer.cs for our usage example.
Here is the full crash message.
VERSIONS USED
STEPS TO REPRODUCE THE ISSUE
WORKAROUNDS (IF ANY)
Other than not using
Frame.CameraMetadata.TryGetValues(CameraMetadataTag.SyncFrameNumber,
there is no known workaround.ADDITIONAL COMMENTS
Project - https://drive.google.com/open?id=1Y7vHunuSZFcyW5MQ0XwuOfIsMLe6LoCT