Start a new topic

Instant Tracking webview crashing Wikitude SDK 6.1 cordova plugin

We are experience wikitude webview crashes and white screens since we upgraded from 6.0.1 to 6.1.0 of the SDK.

We can reliably reproduce when interacting with the changeTrackingHeight slider and also when dragging one the models on the screen.  

Our example is largely based on the 04_InstantTracking_3_Interactivity sample and infact we get the same behaviour when using your sample.

It is nearly impossible to capture any logs through and safari developer tools as the webview crashes completely and most of the time nothing is recorded in the xcode debugging console.  Did manage to capture one stack trace attached.

Other particulars:-

xCode v8.3.1 latest (happened to update this week to see if resolved)

ionic v2.2.1

Cordova v6.5.0

Cordova iOS v4.3.1

Test Devices

iPad Air 2 iOS 10.3.1 (happened to update this week to see if resolved)

iPhone 5s iOS 10.3

2017-04-11 15:16:40.728252 AR[384:37662] [DYMTLInitPlatform] platform initialization successful

2017-04-11 15:16:41.203980 AR[384:37630] Apache Cordova native platform version 4.3.1 is starting.

2017-04-11 15:16:41.205373 AR[384:37630] Multi-tasking -> Device: YES, App: YES

2017-04-11 15:16:41.292241 AR[384:37630] Using UIWebView

2017-04-11 15:16:41.295260 AR[384:37630] [CDVTimer][handleopenurl] 0.144005ms

2017-04-11 15:16:41.298576 AR[384:37630] [CDVTimer][intentandnavigationfilter] 3.144979ms

2017-04-11 15:16:41.298824 AR[384:37630] [CDVTimer][gesturehandler] 0.117004ms

2017-04-11 15:16:41.318436 AR[384:37630] [CDVTimer][splashscreen] 19.508004ms

2017-04-11 15:16:41.330224 AR[384:37630] [CDVTimer][statusbar] 11.565030ms

2017-04-11 15:16:41.332455 AR[384:37630] [CDVTimer][keyboard] 2.009988ms

2017-04-11 15:16:41.332698 AR[384:37630] [CDVTimer][TotalPluginStartup] 37.595034ms

2017-04-11 15:16:41.579533 AR[384:37630] Resetting plugins due to page load.

2017-04-11 15:16:45.098300 AR[384:37656] Metal GPU Frame Capture Enabled

2017-04-11 15:16:45.099411 AR[384:37656] Metal API Validation Enabled

2017-04-11 15:16:45.236861 AR[384:37630] Finished load of: file:///var/containers/Bundle/Application/D6F683C0-73C1-4556-8172-174FDEFC554B/

2017-04-11 15:16:45.486278 AR[384:37630] THREAD WARNING: ['Device'] took '12.563232' ms. Plugin should use a background thread.

2017-04-11 15:16:45.642781 AR[384:37630] DEVICE READY FIRED AFTER 3148 ms

2017-04-11 15:16:45.682818 AR[384:37630] [MC] System group container for path is /private/var/containers/Shared/SystemGroup/

2017-04-11 15:16:45.683853 AR[384:37630] [MC] Reading from public effective user settings.

2017-04-11 15:16:45.686430 AR[384:37630] THREAD WARNING: ['WikitudePlugin'] took '36.160156' ms. Plugin should use a background thread.

2017-04-11 15:16:45.697555 AR[384:37630] Your platform supports AR/Wikitude. Have fun developing!!

2017-04-11 15:16:50.264285 AR[384:37630] Hello AR World Page

2017-04-11 15:16:53.427130 AR[384:37630] THREAD WARNING: ['WikitudePlugin'] took '219.197998' ms. Plugin should use a background thread.

2017-04-11 15:16:54.188860 AR[384:37630] ARchitect World loaded successfully.

Assertion failed: (tracker != nullptr), function setActiveInstantTrackingState, file /Users/emperor/Development/Tools/Jenkins/Master/Instance/jobs/architect_sdk_builder/workspace/repositories/architect_core/src/engine/interfaces/InstantTrackerInterface.cpp, line 346.


(2.53 KB)

Hi Graham,

Thx for reporting the issue. We're quite surprised that you get this kind of crash. 

Could you explain in more details what you do (and in which order) in order to reproduce this issue? Maybe you can also attach a video where we see what is happening.

Best regards,


Thank you for your response.  We have captured a couple of videos showing behaviour.

(7.4 MB)
(3.37 MB)

Hi Graham,

Thx for sending the videos! So far I haven't understood the problem but I will keep looking into it.

As a starter you can download an updated version of our Cordova iOS plugin here. This one should not crash and I'm curious what then happens for you.

Best regards,


Login or Signup to post a comment