Log in or register to post comments

Sample fails on iOS

November 7, 2013 - 3:02am #1

Hi,

I am running the Image Targets Unity Extension sample on an iPad, and when reaching scene 4 (the scene that actually have the AR stuff), it shows a dialog saying "Failed to initialize QCAR" and closes.

The log says:

<pre>

trackerManagerInitTracker
 
Error: Image Tracker could not be initialized.
 
Could not initialize the tracker.
 
UnityEngine.Debug:Internal_Log(Int32, String, Object)
 
UnityEngine.Debug:LogError(Object)
 
TrackerManagerImpl:InitTracker(Type) (at /Users/ilang/test/Assets/Qualcomm Augmented Reality/Scripts/Internal/TrackerManagerImpl.cs:67)
 
DataSetLoadBehaviour:Start() (at /Users/ilang/test/Assets/Qualcomm Augmented Reality/Scripts/DataSetLoadBehaviour.cs:52)
 
 
 
(Filename: /Users/ilang/test/Assets/Qualcomm Augmented Reality/Scripts/Internal/TrackerManagerImpl.cs Line: 67)
</pre>
 
As far as I can tell, I followed all the instructions to the letter.
 
I am using:
Unity Pro (with iOS Pro) - 4.2.2f1
and the latest xCode - 5.0.1.
 
Can you please assist me?
 
Thank you very much,
  Yuval Kalugny

Sample fails on iOS

November 7, 2013 - 8:41am #6

I meant just run it through XCode to see what the log says.  You cannot debug / look into the library functions.

 

N

Sample fails on iOS

November 7, 2013 - 7:28am #5

How can I debug that code?

It's in the CPP code of the .a file...

Sample fails on iOS

November 7, 2013 - 4:02am #4

I don't know why it is not working.

One thing you could try is just building it with scene 4 and then debugging through XCode to see what the log says.  Maybe it might display why the tracker has failed to initialise?

 

N

 

Sample fails on iOS

November 7, 2013 - 3:31am #3
  • This is the sample out of the box, no changes - just a new project and the unitypackage import.
  • Latest - 2.6.7
  • iPad 3rd Gen, software version 6.1.3

I don't have any other iOS devices, so I haven't tried running on other devices.

I haven't tried running any other samples yet (I will), but it all started when another project I'm working on failed in the same way after running fine on Android.

I understand that this means something is fundamentally wrong. Is there an important step I'm missing? Is this some incompatability with newer versions?

Thank you very much,

  Yuval

 

Sample fails on iOS

November 7, 2013 - 3:24am #2

Hi

Just a few questions to try and narrow down:

  • Is this the Image Targets sample out of the box? or have there been any changes?
  • Which version of Vuforia is it?
  • Which iPad version is it?
  • Which iOS version is it?

 

Also, have you tried running this on another device, or tried running any of the other samples?

Basically this should run out-of-the-box, otherwise there is something fundamentally wrong.

 

N

Log in or register to post comments