Welcome to Developer Portal Q&A, where you can ask questions and receive answers from other members of the community.

Tracking not working in IOS

0 votes
Hi,

We developed an app unsing AR media and Unity3d to detect real world object and it works fine in android.

But, when i switched the platform to IOS, we got some problems intially app crashing, Blank white screen, but we solved it .

but the app isn't able to detect the object. I want this to be sorted real quick , It would be really great if i get a solution for this.

Regards,

saikira.
asked Jan 30 by hnstpl (120 points)

1 Answer

0 votes

Hi Saikira,

have you tried the tracking data also with the ARMediaToolset app?

 

Anyway, we are aware of a bug related to the Unity plugin, and I suspect you are having troubles exactly for that bug. Specifically in order to use the 3D tracking features on iOS you'd need to first generate the cache for the actual tracking configuration otherwise the tracker won't even start.

 

To generate the cache you need to:

 

1) open the conf.xml using a text editor

2) modify the following entries:

   <cache_write>0</cache_write>

   <cache_read>0</cache_read>

     like this:

   <cache_write>1</cache_write>

   <cache_read>1</cache_read>

3) copy all the tracking data (images, pointcloud and modified conf.xml) into the ARMediaToolset app and try the tracking there, first of all tracking should now work, then the cache file (with extension .flann) will be generated
 
4) copy that cache file and the updated conf.xml file back into your Unity project, now tracking should work also with the app built from Unity.
 
Hope this helps.
Alex
answered Jan 30 by Alex (6,680 points)
...