Hey, I'm working on an app that has multiple ImageTargetBehaviours in a single scene, but only wants one active at a time. This is after upgrading from Unity 2018.3 to Unity 2019.3, which is necessary for some of the newer Unity features we need. When I activate one of these and register events, it works just fine. My events trigger, and the image is properly tracked. However, if I try to activate a second image target, it fails to properly work. The image itself is tracked, as I print out a log of all active targets, but the events don't properly register, because the image target itself is not properly assigned(ImageTargetBehaviour.ImageTarget is null). All of the Targets start off, and when I need them, I start the VuforiaBehaviour, and then enable the target itself. As far as I know, this has always worked in the past. I've been trying to solve the issue for the past day or two with no luck so any help or direction would be appreciated! Thanks!
"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team
Only First Activated Image Target Runs
By nightkitchen
on Thu, 01/09/2020 - 17:38
Hi,
Hi,
Once you initialize Vuforia for the first target, do you deintialize after not using it anymore? and than afterwards intialize it for the second image target?