Add/Remove ReferenceObject after ARSession is started in visionOS

Hi, in visionOS2, I wonder if there is a method to add/remove referenceObjects of ObjectTrackingProvider after ARSession started without stop it.

Now I must stop it and run it again. The current tracking is stopped.

Thanks.

Sorry, in visionOS 2.0 there is no way to add/remove ReferenceObjects on a running ObjectTrackingProvider.

Most apps have a fixed set of reference objects that they want to detect, so they don't run into this limitation. I would encourage you to file a feedback request via the feedback assistant if you know of a use case where you frequently need to change the set of reference objects being detected.

Add/Remove ReferenceObject after ARSession is started in visionOS
 
 
Q