By jslanglois
on Tue, 03/28/2017 - 16:02
Hi,
I'm currently developping an app that will be deployed on both iOS and Android, and since I want to dynamically change the dataset (downloaded from my server), I'm using the Application.persistentDataPath. I saw a lot a topics linked to the problem, but my issue is that my dataSet.Exists returns false even if my .xml file on the path I wrote exists.
I followed this "How To" article and I have the same code to load the .xml file. Of course the .dat file is alongside the .xml file so I do not know why it doesn't work since, when I open the path I gave to Unity via a debug line, the file do exist and open without problems.
Do you have any ideas what I could have miss ?
Thanks a lot !
Hello,
Hello,
See if this article helps: https://library.vuforia.com/articles/Solution/Unity-Load-DataSet-from-SD-Card
Thanks
Hello,
Hello,
I must add that even if I
I must add that even if I want to load a dataset with a .xml file in the StreamingAsset/QCAR directory (with the use of VuforiaUnity.StorageType.STORAGE_APP) doesn't work, it's definitely not a problem of path.
Ok, I finally figured it out.
Ok, I finally figured it out. Since I'm french and used an acute accent in the company name (in the Player Settings), the Application.persistentDataPath wasn't functionning. I just deleted the acute accent and it's now working.