Log in or register to post comments

Dynamic Vuforia Configuration Settings

February 21, 2017 - 2:54pm #1

Vuforia SDK Version: Unity 5.5.1 + Vuforia 6.2.6 -

Description with steps to reproduce: I have a project that requires changing MaxSimultaneousImageTargets on the fly. Hard to explain, but there's no real way to do the project without this ability.
Setting through code doesn't seem to work. I thought I've been able to do this in the past, wondering if this is a bug introduce with the new configuration panel.

This has no effect:
VuforiaConfiguration.Instance.Vuforia.MaxSimultaneousImageTargets = 3;

I'm now looking at:
https://library.vuforia.com/articles/Training/Changes-to-the-Unity-ARCamera-with-Vuforia-6-2

and it says:
Changing any of these settings won’t have an immediate effect. The changed settings will be used for all upcoming scenes. Changing something immediately can be done with existing runtime API which has not changed.

If this is indeed my issue, then it kills my project. I'm going to keep this bug post, this really needs to change. Severely limits a lot of possibilities with the SDK.

-

Development OS (Mac OS X, Windows, Linux): 10.11 -

Mobile OS and Version: Editor -

Mobile Device Manufacturer and Model name: Editor -

Do the Vuforia Sample Applications show the same behavior?: No samples use this functionality.

Dynamic Vuforia Configuration Settings

February 23, 2017 - 4:48pm #3

Hello,

Have you tried the previous method for setting the hint to update the max number of trackables?

https://library.vuforia.com/reference/api/unity/classVuforia_1_1VuforiaUnity.html

VuforiaUnity.SetHint(VuforiaUnity.VuforiaHint.HINT_MAX_SIMULTANEOUS_IMAGE_TARGETS, 3);

Thanks.

Dynamic Vuforia Configuration Settings

February 23, 2017 - 3:21pm #2

Hello,

We're looking into this issue.

Thanks.

Log in or register to post comments