Hello,
I've been recently doing some additional tests on VuMarks, and I faced a problem with those with BYTE type ID. Everything works just fine for designing and generation, however there is a major issue with the HexStringValue() method which should retrieve the VuMark's id. Additionnaly, the description of the method in the API documentation is foggy : "TEMP: Helper method for displaying the instance ID."
What exactly does this method do? It is unclear, and in my case it doesn't work for retrieving the ID. And if it isn't its purpose (considering the name of the method, I suppose the odds are low), which method should be used to retrieve BYTE type IDs?
Thanks for helping.
Hello @dkos,
Thanks for the resources. I was able to upload the SVG file to our Target Manager and generate an instance using the specified string: "abcd1101ccbe5984dda0c5479802". I then downloaded the device database and imported it into our Core Samples. I also used a Development Key.
Unity Editor: 2018.3.1f1
Vuforia SDK: 8.0.10
Vuforia Core Samples: 8.0.11
Once I selected and activated the VuMark device database in the inspector, I was able to decode the instance correctly and it displayed both in logs and UX. Taking a further look at the scripts used to display this data (/Assets/SamplesResources/SceneAssets/VuMark/Scripts/VuMarkHandler.cs), I see that is is using the same API that you're using.
Perhaps this is related to the license type? Keep in mind that if you have a device database with more than one VuMark, and you're not using a Pro license, it will select the first dataset listed in the device database. There is a table (under Adding a License Key) that better describes this behavior here: https://library.vuforia.com/content/vuforia-library/en/articles/Solution/Working-with-VuMarks.html
Thanks,
Vuforia Engine Support