List
iOS crashing when we scan an image target
Posted Date: 2019-11-14 1:53     Edited Date: 2019-11-15 3:48     Writer: developer

Please provide your development details as below;

1. SDK Version: 4.1.4
2. Development Environment: Unity-iOS, xcode 11, Unity 2019.2.0
3. Tracker/Scanner: image target
4. License Type: Currently free, upgrading to one time if everything works
5. Target Device(Optional): testing on iphone 6s, iphone 7s

We can assist better if you attach screenshots of issues.

 

We are seeing crashes when we go to scan an image. Everything seems to work, but as soon as it picks up an image target, it crashes. The crash log is showing the following in the thread that has the crash.

0x0000000102493fff (in professormaxwells4dchef) maxstAR::ESMTracker::process(maxstAR::GrayImage*, maxstAR::GrayImage*) (in professormaxwells4dchef) + 1332

0x0000000102493fff (in professormaxwells4dchef) maxstAR::Tracker::predictPose(maxstAR::Frame*) (in professormaxwells4dchef) + 240

0x0000000102493fff (in professormaxwells4dchef) maxstAR::Tracker::verify(maxstAR::Frame*) (in professormaxwells4dchef) + 44

0x0000000102493fff (in professormaxwells4dchef) maxstAR::SuperImageLogic::_process(maxstAR::Frame*) (in professormaxwells4dchef) + 180

0x0000000102493fff (in professormaxwells4dchef) maxstAR::IOLogic::trackFrame(unsigned char*, float*) (in professormaxwells4dchef) + 300

0x0000000102493fff (in professormaxwells4dchef) maxstAR::ImageTracker::trackFrame(unsigned char*, float*) (in professormaxwells4dchef) + 64

0x0000000102493fff (in professormaxwells4dchef) maxstAR::ARManager::trackingThreadWorker(void*) (in professormaxwells4dchef) + 376

0x0000000102493fff (in professormaxwells4dchef) void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void* (*)(void*), maxstAR::ARManager*> >(void*) (in professormaxwells4dchef) + 44

 

Thank you for any help you can provide.

Posted Date: 2019-11-14 8:49     Edited Date: 2019-11-14 8:49     Writer: inactive

Please upload the original image and the 2dmap file you used for tracking and write down the situation so that we can reproduce it.

Thank you.

 

Leo

Maxst Support Team

Posted Date: 2019-11-14 21:41     Edited Date: 2019-11-14 21:41     Writer: developer

Thank you for the reply. We have discovered that Maxst causes a crash when scanning a target if we also have Google Cardboard in there. We are using Google Cardboard to handle the VR stuff in the app. This appears to only happen on iOS and not Android.

We tried it with just the sample project that comes with the Maxst SDK and when we also turn on Google Cardboard for our VR, Maxst crashes when we try to scan an image.

Is there a reason this might be happening?

Posted Date: 2019-11-15 1:01     Edited Date: 2019-11-15 1:01     Writer: inactive

There have been several questions from people who use Google Cardboard before, and since we do not support VR, we did not test using Google Cardboard. Therefore, we do not know the exact reason.

Thank you.

 

Leo

Maxst Support Team

Posted Date: 2019-11-15 3:48     Edited Date: 2019-11-15 3:48     Writer: developer

Yes, I realize your plugin doesn't. I just figure you would have tested working with other VR plugins for compatibility. This makes it extremely difficult as we're trying to do this in our 7 current live apps (we're trying to move away from vuforia) and we have additional apps that we're trying to setup that would use Maxst and Google Cardboard.

Thank you.