Removed WorldAnchors reappear

While WorldTrackingProvider.removeAnchor() completes without error, the WorldAnchor might be back the next time the App is run. This can easily be replicated by the ObjectPlacement sample. Just add 10 objects, Remove All, then run App again. The first run the anchors might be gone, but run the App a couple more times and the anchors will come back.

This becomes a big problem when paired with the issue that anchors are not always found when the App enter Immersive mode. When an anchor is not found our App will add an anchor. That usually works fine for that run. The next run, however, the other anchors will show up. Anchors accumulate and it becomes difficult to track.

Replies

This sounds like a bug. Can you please file a radar about this via Feedback Assistant? Thanks a lot!

Sure thing, thanks!

I created this issue FB13713944 which includes a couple other issues which, unfortunately, are a bit more troublesome. We can internally track removed anchors and ignore them.

  • Thank you for taking the time to write this up, we will look into it. In case you run into more issues in the future, it would be great if you could file separate feedback for every issue that you encounter - this ensures that each issue can be accurately investigated and tracked.

Add a Comment