Azure / azure-spatial-anchors-samples

Azure Spatial Anchors sample code
Other
293 stars 138 forks source link

Unity (Android) - Anchors are findable for several days, after a few days of no interaction, I cannot find them again. #400

Open MaxMeulendijks opened 1 year ago

MaxMeulendijks commented 1 year ago

I have adapted the sample for Android using Unity. When running any scenario, I can find newly created anchors for several days when I log into/out of the apps, but after a few days of inactivity the app seems to have trouble finding the same anchor again.

I removed the 7 day expiration date present in the sample, and can log the expiration date to confirm that the date is still far into the future (Azure also shows no deletions). Yet when I do a search after the hiatus, it is not finding the anchor - I can see OnCloudLocateAnchorCompleted getting triggered, but not OnCloudAnchorLocated?

Is there anything else that might be hiding my anchors? I am saving the anchor keys in a SQL database, and those remain unchanged. I see no exceptions being thrown.

darax commented 1 year ago

Is it possible that over the few days furniture is being rearranged?