By Charriu84
on Tue, 09/11/2018 - 09:49
I'm running into a strange problem on Android with my Unity 2017.2 app. During runtime I have implemented the option to activate and deactivate the AR part of my app. When I deactivate the AR part and activate it afterwards Vuforia sometimes finds a Trackable even though my tablet is lying flat on the ground and should not find anything.
This is how I activate Vuforia after it is initialized:
- Activate the gameobject with the VuforiaBehaviour on it
- TrackerManager.Instance.GetTracker<ObjectTracker>().Start();
And this is how I deactivate Vuforia:
- TrackerManager.Instance.GetTracker<ObjectTracker>().Stop();
- Deactivate the gameobject with the VuforiaBehaviour on it