Saved anchor is replaced by new one.

혜진 서 91 Reputation points
2022-12-29T10:17:40.003+00:00

If I connect to the server and create an anchor and leave and connect to the server again and create an anchor, the previous anchor(index 0) disappears and is replaced with a new one.

Is there a way to accumulate and save anchors when creating anchors while entering and exiting the server?

UE5.1 / HoloLens / Window Remote play

HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
378 questions
{count} votes

1 answer

Sort by: Most helpful
  1. clcheles 271 Reputation points
    2023-01-03T12:20:31.317+00:00

    thanks for confirming. I assume you are using Local spatial Anchors with OpenXR correct? If so, you need to save your anchors as ARPins as covered in our docs
    Without checking your implementation, I couldn't say exactly what is happening, but Unreal has its own doc on how to save/load/delete ARPins.
    HoloLens allows you to see all local pins through Device Portal / Map manager.

    If you're looking to use Azure cloud services to store your anchors, we have a doc that can walk you through integrating Azure Spatial Anchors. Note that you can have local and Azure anchors in the same project without conflict.

    0 comments No comments