Description

On android, there is no way to detect when an image is not tracked by the camera anymore. Once the image is tracked, the tracking status of the image is always "tracking". According to GoogleARCore doc, the status of a non-traking image switch to "pause", but there is no such tracking state in the EARTracking state enum.

[Link Removed]

There is always differences beetween IOS and Android even if the code is same. So how to know to destroy objects when augmented images are not tracked anymore by the camera for both IOS and Android?

Steps to Reproduce

'Get Tracking State' enum on an ARTrackedImage Object (Image attached)

Deploy to Android

Result: enum updates on iOS but not Android

Have Comments or More Details?

There's no existing public thread on this issue, so head over to AnswerHub just mention UE-81971 in the post.

9
Login to Vote

Fixed
ComponentXR
Target Fix4.26.2
Fix Commit15450100
Release Commit15450100
CreatedOct 17, 2019
ResolvedFeb 18, 2021
UpdatedFeb 25, 2021