Querying Azure Spatial Anchors in UE

Hey there

I am trying to implement Azure Spatial Anchors to colocalize a game component cross platform.

I followed the Guide and was able to create Azure Spatial Anchors in UE and save them to the cloud but I don’t understand how to use Anchors that are saved from other sources.

According to the guide this is done through an Azure Spatial Anchor Event to which I can bind my callback function of choice. However they go on talking about setting up a watcher to get saved Anchors. What exactly do I have to do? I have set up a watcher as well as assigned a callback function to the Located Delegate Event from AzureSpatialAnchorsEvent. However when I successfully save an Anchor from a third party source in the cloud no function is triggered in my UE project.

TL;DR:
How can I “download” and make use of Azure Spatial Anchors which are saved in the Azure Cloud in Unreal Engine?

Thanks a lot in advance!

Edit: I tried querying new Anchors coming in to to cloud with all available events in UE and none of them worked. I also had a watcher set up.

I figured it out: When setting up a watcher make sure to read the Anchor Locate Criteria Documentation. You need to specify a means by which it can look for anchors. So either a list of identifiers, a certain proximity to another specified anchor or the proximity to your device. Then the ASAAnchor Locate Delegate works.

hey, I’m also looking to create an indoor navigation AR with the help of azure spatial anchors. I went through the document that you mentioned, still unable to configure if I can have visual based indoor navigation with this,
any suggestions would be great.!