"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

Setting licence key at runtime

I'm in the process of upgrading an older project using Vuforia 8.3.x to 10.3.2.

 

The following code to set the licence key at runtime doesn't work any longer with 10.3.2:

[code]VuforiaConfiguration.Instance.Vuforia.LicenseKey  = "****";[/code]

The code is definitely correct, if i copy it from this code line into the Vuforia configuration, it works.

 

Is this still the correct property? If yes, is it possible that the code is executed too late? But even if i move it to the top in the script execution order, it still doesn't work (= licence not detected and Vuforia watermark visible).

 

 

 

 

 

Thanks for the response.

 

I totally missed that part of the documentation. I can't try it right away, but it sounds like it will work.

I will report back at the beginning of the new year :)