How to import a Private Scan mesh and use its origin anchor?

Include the following details (edit as applicable):

  • Issue category: VPS
  • Device type & OS version: Android / iOS
  • Host machine & OS version: Windows
  • Issue Environment : Unity Remote / Unity Mock / On Device / Dev Portal
  • Xcode version: 14.0.1
  • ARDK version: v2.3.1
  • Unity version: 2021.3.11f1

Description of the issue:

I am trying to perform the steps here.

The main issue is that I’m not really familiar with the Serialize/Deserialize methods.
The docs said that each Private Scan mesh comes with a “.b64” file.
However, mine came with a 3D model, a .JPEG, and a .JSON (looks like the origin anchor).

Now, how can I restore the origin anchor of the .JSON file?
It currently looks like this:

{“AnchorPayload”:“ChYIk/6tufKRhKCYARCl47Tu0sycwpIBGMTKo9f01vsCKicKFQjDmY3ctM/8p7UBEJ+b5/yWsNfzERIJCgASBSUAAIA/HQAAgD8=”,“AnchorName”:“C34C834B7BF24FB59FCD996F815DE711-origin”,“NodeIdentifier”:“C34C834B7BF24FB59FCD996F815DE711”,“LocalizationTargetName”:“e80b321ee53843eb97fc65cbf1917df0.107”}

After deserializing it, I should be able to restore the origin anchor inside this “payload”, and ultimately place GameObjects on top of my VPS Private Scan wayspot, correct?

If someone have any working examples of that, that would be great as well!

I am also struggling with this! Have tried encoding the whole JSON string to b64, and just the AnchorPayload value but nothing works.