ClearTarget not working (throwing nullreference)
Every time i try to recognise a vuforia marker, one line of the code throws an error and then a null reference .
The line of code is :
tracker.GetTargetFinder().ClearTrackables(false);
And at this line it throws the error:
Unsupported TargetFinder type provided UnityEngine.Debug:LogError(Object)
and after that a null reference.
I dont understand this because the code worked before, after i updated unity and vuforia i had this problems. Thank you in advance guys
Your answer
Follow this Question
Related Questions
How can I add a toggle to this FPS counter script? 1 Answer
Generating random points and instantiating prefabs with a set distance 0 Answers
How to set a variable of a non-monobehavior script from a monobehaviour script 0 Answers
Callback when vuforia AR camera finishes loading 0 Answers
I create material with script but it does not render right 0 Answers