Hello,
I would like to load database, with an image target, during runtime. Based on alexBasnett's answer from https://developer.vuforia.com/forum/unity/dynamic-load-datasets-runtime-and-create-image-targets#comment-62037 I wrote a code (find it attached to this post) that downloads .dat, .xml files from a remote server and loads them as a Vuforia database. Database is being downloaded and loaded with no errors, however when I move a camera over a target that is saved in a databse nothing happens. I checked the database loaded statically, by creating an ImageTarget object, selecting the same database (I extracted unitypackage downloaded from vuforia's TargetManager into my project) and it works perfectly. I also attached some screens from a log and instantiated object during runtime. There is one thing that seems suspicious - the instantiated TrackableBehaviour has name "emulator_ground_plane", which is visible on the screenshot attached. When the database is selected statically, in editor, the trackableName of the TrackableBehaviour is different - matches the name set during the creation of the tracking target in the TargetManager.
I realise that I could use Cloud recognition, however in my project it would be an overkill, I just need a few targets. I read different posts on this subject, but they are older than a year or cover the database activation problem which is fine in my case.
Thanks for help
Hello,
Hello,
I think that the presence of "emulator_ground_plane" during run time is a false lead in correcting your issue. However, the fact that what looks to be a Ground Plane tracker being instantiated could indicate other issues with your project.