Log in or register to post comments

Sudden Vuforia initialization error

October 4, 2016 - 2:45pm #1

My team has been using the build I've made 2 months ago without any problems until few days ago.  All of a sudden the build that has been installed on 4-5 devices fail during the initialization.  The init code is from SampleApplicationSession.mm file without any modifications other than the license key.  Here's the code:

// mVuforiaInitFlags = GL_20

Vuforia::setInitParameters(mVuforiaInitFlags,"MyLicenseKey");

 

// Vuforia::init() will return positive numbers up to 100 as it progresses

// towards success.  Negative numbers indicate error conditions

NSInteger initSuccess = 0;

do {

  initSuccess = Vuforia::init();

  NSLog(@"%d", initSuccess); // log below

} while (0 <= initSuccess && 100 > initSuccess);

       

if (100 == initSuccess) {

  // We can now continue the initialization of Vuforia

  // (on the main thread)

  [self performSelectorOnMainThread:@selector(prepareAR) withObject:nil waitUntilDone:NO];

}

initSuccess return -1 which translates to just a default error.

I tried to log initSuccess:

2016-10-04 11:28:37.397134 aria-demo[3234:494344] 50

2016-10-04 11:28:37.397223 aria-demo[3234:494344] 50

2016-10-04 11:28:37.397359 aria-demo[3234:494344] 50

2016-10-04 11:28:37.398252 aria-demo[3234:494344] INFO/AR(3234) 2016-10-05 11:28:37: Vuforia SDK version 6.0.2

2016-10-04 11:28:37.475353 aria-demo[3234:494344] Rendering mode set to: OpenGL ES 2.0

2016-10-04 11:28:37.476164 aria-demo[3234:494344] -1

It doesn't make sense that Vuforia just started failing on all installed devices.  I thought it was a license issue (Development license), but when I tried to make a new one, it still failed.  It's not iOS 10 issue because all iOS 9 and 10 devices fail.

Any ideas?  Thank you.

Sudden Vuforia initialization error

October 5, 2016 - 1:07pm #3

hyuncho wrote:

My team has been using the build I've made 2 months ago without any problems until few days ago.  All of a sudden the build that has been installed on 4-5 devices fail during the initialization.

2016-10-04 11:28:37.398252 aria-demo[3234:494344] INFO/AR(3234) 2016-10-05 11:28:37: Vuforia SDK version 6.0.2

Vuforia 6.0.2 was an early access beta version. Early access betas are for preview and testing purposes only. They shouldn't be used for production apps. We released the first production build of Vuforia 6 (6.0.112) on August 9th.

https://library.vuforia.com/articles/Release_Notes/Vuforia-SDK-Release-Notes

Sudden Vuforia initialization error

October 5, 2016 - 8:45am #2

We have seen a similar issue. We have been using Vuforia 6 beta and started getting the Initialization error from October onwards on iOS 9.

If we put the date/time back on the iPad to September, the app works again fine as before. WE have asked is there is a date time limit on the Beta, but no answer yet.

Log in or register to post comments