Log in or register to post comments

Location of .xml and .dat (OBB extraction)

September 26, 2017 - 8:07pm #1

Hello talented people!

We've hit a roadblock with handling an OBB and would appreciate some pointers.

 

Scripts on the forum suggest:

foreach (var filename in filesInOBB) {

            string uri = Application.streamingAssetsPath + "/QCAR/" + filename;

}

Which returns .dat and .xml files of 0kb - Our OBB is loading correctly as we can enter the 2nd scene, but can't load the vuforia db.

 

Inside our Unity editor/project our QCAR directory is located in: ‘Assets/Editor/QCAR’ which only contains a file named somedata16 which appears to store a small hash/salted key.

Our .dat and .xml file path is

   Assets/StreamingAssets/Vuforia/XYZ.dat

   Assets/StreamingAssets/Vuforia/XYZ.xml

 

Is this correct?

Has the vuforia project structure changed?

On build does unity move/create the .dat and .xml to 'Application.streamingAssetsPath /QCAR/XYZ.dat'

 

Thank you in advance!

 

Location of .xml and .dat (OBB extraction)

September 27, 2017 - 2:44pm #2

Hello MCSAus,

The directory structure for Vuforia has not changed. The sample projects will put the majority of their .xml and .dat files in the Assets/StreamingAssets/QCAR/ directory, but also puts one in the directory yours are in (Assets/StreamingAssets/Vuforia/). Updating the path in that example code to point to where your dataset files are should work. Could you give it a try and let me know if you run into any issues?

Thanks,

-Vuforia Support

Log in or register to post comments