By EnoJoy
on Mon, 11/02/2015 - 22:24
Vuforia SDK Version: 5.0.6 -
Description with steps to reproduce:
Issue:
It seems Vuforia is unable to load data set when application binary is split (APK+OBB)
Tracking works just fine as long as there is no binary split. If compiled with binary split, Vuforia seems unable to find the data set in extended root locations; and thus cannot be loaded or activated. Any way to work around this?
Versions : Using Vuforia 5.0.6 with Unity 5.2.2p1 for Android
Reproduce:
Empty project importing Vuforia 5.0.6 and a dataset.
Add a cube to display something on the target.
Run on android device without splitting binary = works fine
Run on android device with splitting binary = error occurs.
- Development OS (Mac OS X, Windows, Linux): Windows - Mobile OS and Version: Android 4.4 - Mobile Device Manufacturer and Model name: Sony Xperia Z1 Tabet - Do the Vuforia Sample Applications show the same behavior?: Did not try a sample application, but a simple basic project shows the same issues Basic project = New project with import of Vuforia 5.0.6 and a newly downloaded data set + a cube.
Split binary - unable to find in extended root locations
This is not a bug; you can handle Android Apps whose size is larger than 50MB using the Split Binary option, but you'll need to follow these instructions:
https://developer.vuforia.com/forum/faq/unity-how-can-i-handle-large-android-apps
Split binary - unable to find in extended root locations
I have followed the instruction on the link you provided but I still do not get the dat or xml files loaded. If I connect my device to Android Studio after installing app from beta on Google Play I see mesaages like:
Unable to find <app name> in extended root locations
Split binary - unable to find in extended root locations
further invesitgation shows the file paths are not as expected?
using the sample code to access the streaming assets files it is trying to copy the source xml and dat files from /assets/QCAR/MyApp.xml to
Split binary - unable to find in extended root locations
Unity should abstract the actual path on your device file system, when using Application.
Split binary - unable to find in extended root locations
see here: https://developer.vuforia.com/forum/unity-3-extension-technical-discussion/dataset-does-not-exist-error-when-using-unit
Split binary - unable to find in extended root locations
Great progress about this:
Split binary - unable to find in extended root locations
Hi, I have done this see the link I attached to the other thread on forum.
The videos etc are all there and visible but Vuforia cant find them but does find the videos but does find the dat and xml