By Soumya76
on Fri, 11/18/2022 - 07:39
I am using Vuforia Cloud Recognition and am successfully able to track one image target on the scene, however if I remove the first target from the scene, and add only a second image target, I am actually not able track and get this error:
Exception in callback: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> UnityEngine.MissingReferenceException: The object of type 'ImageTargetBehaviour' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not destroy the object.
Any idea on what I can do to fix this and how I can track multiple targets successfully, 1 by 1 in a scene?
Hey there,
Hey there,