I been stuck in this for some days now so I hope you can give me a hand to achieve it or to let me know that that is not possible right now.
My work flow:
- Upload the *.xml and *.dat files from a model target to a server.
- Download it to my Unity app.
- Save them to my persistentDataPath.
- Load the *.xml and *.dat files from my persistentDataPath.
- Load my Dataset and instantiate some content for it.
First, I've read some examples about how to load the data set at runtime :
Based on the examples, I was able to load the dataset I downloaded without console errors but the editor doesn't show the information about that specific model target Behaviour. It just comes empty.
I just notice that all the solutions works like a charm when the data set I downloaded also resides inside my unity Assets folder at the moment I build the app but what I was looking for is the capacity to load data sets that are not present at the moment I made my build.
I suspect that Vuforia can correctly load the data sets only if it was inside Unity at the moment I build my app but it can't load a dataset that hasn't been present at the build moment.
Here are a picture when I load the same dataset and there was also present at the build moment. Everything is on place.
So, is there a way to achieve this?
Maybe I need some extra files besides the *.xml and *.dat?
Or even better, are out there a model target service on the cloud? (Like the cloud service for image targets).
Thanks in advance.