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/libnativesdk.so (_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/libnativesdk.so (_ZN8wikitude14sdk_foundation4impl7Service7didInitEv+40)
02-14 16:50:29.482 31146-31146/? A/DEBUG: #03 pc 00202689 /data/app/com.wikitude.unityexample-1/lib/arm/libnativesdk.so (_ZN8wikitude14sdk_foundation4impl15MusketIrService22platformServiceStartedEv+44)
02-14 16:50:29.482 31146-31146/? A/DEBUG: #04 pc 001fe0c1 /data/app/com.wikitude.unityexample-1/lib/arm/libnativesdk.so (_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/libnativesdk.so (_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/libnativesdk.so (_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.
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.
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.