"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

Intermittent Invalid Key Error

Vuforia SDK Version: 4.0 -Description with steps to reproduce:

I am seeing an occassional error:

 

Invalid Key used. Please make sure you are using a valid Vuforia App Key

 

After this error, Vuforia fails to start, and the app is left with a blank screen. This happens perhaps 1 out of 30 times activating Vuforia.

 

Is the app trying to reach the network to verify the key? Is there any way to prevent this in a production app?

 

Interestingly if I put my phone in airplane mode, Vuforia starts with no issues.

 

I am using Vuforia 4.0 in a native iPhone app.

-Development OS (Mac OS X, Windows, Linux): OS X 10.103 -Mobile OS and Version: iOS 8.3 -Mobile Device Manufacturer and Model name: Apple iPhone 6+ -Do the Vuforia Sample Applications show the same behavior?:

Seems the issue was caused by setInitParameters being called every time the view loaded (which I believe is what happens in the sample app as well).