Start a new topic

[Unity] Switching between different kinds of trackers

Hi. I have a question about using trackers.

I want to make an application that using instant tracker  and image tracker, instant tracking for usual and image tracking for checking event marker activation.

But, when I use those two trackers in the same scene by switching trackers(instant tracker's off when image traker is activated), the app crashed. The crash logs are below :

02-14 16:50:29.317 30413-30432/? A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 30432 (UnityMain)
  [ 02-14 16:50:29.319  3103: 3103 W/  ]
  debuggerd: handling request: pid=30413 uid=10241 gid=10241 tid=30432
02-14 16:50:29.473 31146-31146/? A/DEBUG: pid: 30413, tid: 30432, name: UnityMain  >>> com.wikitude.unityexample <<<
02-14 16:50:29.481 31146-31146/? A/DEBUG:  #01 pc 001fe325  /data/app/com.wikitude.unityexample-1/lib/arm/ (_ZN8wikitude14sdk_foundation4impl14ServiceManager20serviceIsInitializedEPNS1_7ServiceE+54)
02-14 16:50:29.481 31146-31146/? A/DEBUG:  #02 pc 001fda49  /data/app/com.wikitude.unityexample-1/lib/arm/ (_ZN8wikitude14sdk_foundation4impl7Service7didInitEv+40)
02-14 16:50:29.482 31146-31146/? A/DEBUG:  #03 pc 00202689  /data/app/com.wikitude.unityexample-1/lib/arm/ (_ZN8wikitude14sdk_foundation4impl15MusketIrService22platformServiceStartedEv+44)
02-14 16:50:29.482 31146-31146/? A/DEBUG:  #04 pc 001fe0c1  /data/app/com.wikitude.unityexample-1/lib/arm/ (_ZN8wikitude14sdk_foundation4impl14ServiceManager15registerServiceEPNS1_7ServiceE+62)
02-14 16:50:29.482 31146-31146/? A/DEBUG:  #05 pc 001fe1cb  /data/app/com.wikitude.unityexample-1/lib/arm/ (_ZN8wikitude14sdk_foundation4impl14ServiceManager15registerServiceERKNS1_17ServiceIdentifierE+130)
02-14 16:50:29.482 31146-31146/? A/DEBUG:  #06 pc 001ecce1  /data/app/com.wikitude.unityexample-1/lib/arm/ (_ZN8wikitude11android_sdk4impl23JTrackerManagerInternal54registerImageTrackerWithTargetCollectionResourceInCoreEP7_JNIEnvP8_jobjectS6_P13_jobjectArray+40)
02-14 16:50:29.482 31146-31146/? A/DEBUG:  #07 pc 000396fd  /data/app/com.wikitude.unityexample-1/oat/arm/base.odex (offset 0x35000)
02-14 16:50:31.188 3258-3258/? E/audit: type=1701 audit(1487058631.176:6441): auid=4294967295 uid=10241 gid=10241 ses=4294967295 subj=u:r:untrusted_app:s0:c512,c768 pid=30432 comm="UnityMain" exe="/system/bin/app_process32" sig=11

Is it possible to use them in the same scene, and switching between trackers?

I've checked sample of multiple-trackers but it doesn't help.

Please, answer.

Thank you


Thank you for reporting this issue. Unfortunately, it is not possible at the moment to mix trackers of different types in the same scene, but we are working on fixing that. Sorry for the inconvenience.

Best regards,


Hey there,

I'm currently trying to achive a similar thing. I want to use ImageTracking by default and when recognizing an image, I want to switch to InstantTracking.

Since the last post from the support was a while ago, are there any news on this? Is it maybe possible by now to switch between two types of trackers or is there maybe a workaround?


This should be fixed in the latest version. If you still have any issues with this, please let us know.

Best regards,


Hi Alexandru,

I am trying to do similar thing, using image tracking and instant tracking for local positioning system.

I am able to mix image tracking and instant tracking in unity, by first enable the image tracking and then the instant tracking, but the problem here is the WikitudeCamera is not sharing or remembering the last tracking data.

Is there any workaround to offset the camera so that the instant tracker will match the previous image tracker data?

I tried to override the transform too by offsetting the previous and the current of WikitudeCamera position after switching from ImageTracking to InstantTracking, but still no good use.

Any workaround?

Thanks for the support.



I don't think this use case is supported at the moment, but have you tried using extended tracking? When extended tracking is enabled, the tracker first tries to recognize the image, and when it does, it switches internally to instant tracking.

Best regards,


Login or Signup to post a comment