Tracking not working in IOS

+2 votes
asked Jan 30, 2018 by hnstpl (140 points)

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.



1 Answer

0 votes
answered Jan 30, 2018 by Alex (6,680 points)

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:



     like this:



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.
Welcome to Developer Portal Q&A, where you can ask questions and receive answers from other members of the community.