I am using Vumarks in Unity and I came across a weird problem. I created a Vumark template which encodes a string of length up to 50.
When I see a Vumark on camera and read its string value (vumark.InstanceId.StringValue) I get the following string:
Since the text in the printed Vumark is not of length 50, but less, the remaining characters are all set to '\0' or the string terminator character. Is this a bug?
It took a while to figure it out because usually string terminator characters are not printed when you print a string. I used the value inside the vumark and compared it with some other data in my program and it resulted in "MyVumarkText" == "MyVumarkText" is false (since you can't see the terminator characters). Which is why it was very confusing to figure out.
I will update if I find something else weird with the string values of Vumarks.