Vuforia SDK Version: 8.1 -
Description with steps to reproduce: We created a plugin for Cordova from our Unity-app. Everything works aside from the fact that when we load our database it takes roughly 5 minutes before the Vuforia scene launches. Our database contains +/- 256 targets. This is only happening on Android. We got zero loading time on iOS.
When we run native without the Cordova wrapper we got a load time of fewer than 3 seconds.
When we run in the Cordova wrapper with only 5 targets it takes also less than 3 seconds.
We debugged the issue as far as we can go and the freeze happens on Load(dataSetName) in DataSet.cs of the Vuforia library code. This is where Vuforia actually starts loading the data set.
So we would like to know how it would be possible that when not running straight into Unity this function suddenly takes 100x longer to load the database.
If you guys got a workaround or any ideas what is wrong let me know. -
Development OS (Mac OS X, Windows, Linux): Windows -
Mobile OS and Version: Android all os's -
Mobile Device Manufacturer and Model name: All android devices -
Do the Vuforia Sample Applications show the same behavior?: No, because it takes a lot of specific steps to reproduce.
If you would like to create the same behavior write a wrapper to run a Unity app inside a Cordova app. Then create a large image target database (100+ targets). Then open the Vuforia scene. Then wait for a few minutes before launch.