"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

Max Simultaneous Tracked Images problem

I had recently updated my Unity project from Vuforia 9.8.8 to Vuforia 10.11.3, and I needed to do some modifications in my code for it to properly works.

Almost everything is working fine, however, for some reason, the configuration of MaxSimultaneousImageTargets is not working for my app when I run it in my smartphone if I update it in real time.

In the Vuforia configuration, I set to start with the value of Max Simultaneous Tracked Images to 1. But in some scenes of my project I need to change it to another value, like 10. When I test it on Unity, it works, but when I build the project and run the app in my smartphone, my scene apparently ignores the updated value. If I start the Vuforia configuration with the value 10, I can set it to 1 in real time for the first scene while debugging in my PC, but again, when I build it to run on my android device, it ignores the updated value.

In Vuforia 9.8.8 this was working just fine for each scene: VuforiaUnity.SetHint(VuforiaHint.HINT_MAX_SIMULTANEOUS_IMAGE_TARGETS, 10)

Now with Vuforia 10.11.3, I needed to change to this line, but it is only working while I'm playing the app on Unity: VuforiaConfiguration.Instance.Vuforia.MaxSimultaneousImageTargets = 10;

I dont understand why this is happening.

Hey there,

 

I apologize for my delayed response.

Let me check with our team. Can you share more information related to your use-case why this feature is helpful for you? For example, why can't you just set the maximum tracked targets to 10 from the start?

Thanks! 

Another strange behaviour that I found in my code while updating from the previous Vuforia version, was when I needed to change the way I loop through ObserverBehaviours.

I do the line bellow to get the active trackables:

Hey there,

 

This is probably because the DevicePoseBehaviour is attached to the ARCamera. If you specify the behaviour you're interested in (GetTrackedObserverBehaviour<ImageTargetBehaviour>) you could more easily filter the behaviours. 

 

Angadh007

Thu, 02/09/2023 - 07:21

Hey wanted to know that is this bug resolved because I am also facing the same thing it is getting updated but not getting reflected.

Hey there,

 

As discussed below this has been filed as a bug and is being prioritized for a future release to be fixed.

 

Kind regards,

Patrick Scheper

Vuforia Engine Product Manager