I am trying to use ARKit for validating the position of a toy. I have an ARObject scan resource, and placing the toy in camera view works pretty well. In other words, didAdd and didUpdate of SCNScene and ARSession are called as expected in a reasonable time after the toy is placed in camera view. But when i move the toy away from the camera view, didRemove does not get called, neither for SCNScene nor for ARSession.
I did read advocations of this behaviour, saying "well ARKit can't know if it was really removed and it still may be just around the corner" but it is rather impractical assumption. The whole Apple documentation about this function is "ARKit may automatically remove anchors" but doesn't say a word about when and why. I know about isTracked but ARObjectAnchor seems to be the only ARAnchor subclass that does not implement ARTrackable.
The only desperate hack i can think of is some kind of fuzzy timeout for when didUpdate stops getting called, because that's the only effect of removing the object AFAIK. Did i overlook something in ARWorldTrackingConfiguration? Please?