I am using Vuforia image target (with extended tracking) for a HoloLens app. When the image target is detected, I am disabling Vuforia detection VuforiaBehaviour.Instance.enabled = false;. At the same time, I am skipping disabling of Renderer, Collider and Canvas in DefaultTrackableEventHandler.OnTrackingLost() in my overridden method so that detected model stays there.
Now, when I try to start Vuforia detection again VuforiaBehaviour.Instance.enabled = true, even before I look at the image target, DefaultTrackableEventHandler.OnTrackingLost() is triggered and the image target gets activated. And, I can see the model in exactly same position where it was visible earlier. In an ideal scenario, when I enable Vuforia detection again, it should scan for the image target to trigger the experience which is not the case here.
Is that because I have used extended tracking and HoloLens still keep track of that object? How can I reset or release that?
What is the best way to reset tracking in this approach?
Any help will be appreciated.