07-01-2024 06:37 AM
Hello,
I am encountering an issue with spatial anchors in my application using Meta XR SDK v. 66 on Quest 3. My application allows one user to create a spatial anchor and share it with other users in the session. However, the users who receive the shared spatial anchor are unable to share the same anchor using ShareAsync, despite successfully loading (LoadUnboundSharedAnchorsAsync) and saving (SaveAnchorsAsync) the anchor beforehand.
Previously, with Meta XR SDK v. 60, I could do this without any issues by saving the anchor to the cloud before sharing using the now obsolete method:
OVRSpatialAnchor.SaveOptions saveOptions;
saveOptions.Storage = OVRSpace.StorageLocation.Cloud;
_spatialAnchor.Save(saveOptions, (spatialAnchor, isSuccessful) => { ... });
Since updating to Meta XR SDK v. 66 and the latest Quest 3 software, and switching to the new async SSA methods, only the user who originally created the anchor can share it. For other users, the OVRSpatialAnchor.ShareAsync method fails with error code -1006.
Here is a summary of the steps I am following:
I have verified that I am correctly adding the OVRSpaceUsers when sharing the anchors. The app has also been correctly configured on Oculus Developer Dashboard, and Share Point Cloud Data is enabled on all devices.
Any guidance or solutions to resolve this issue would be greatly appreciated.
Thank you!
07-01-2024 08:43 AM - edited 07-01-2024 08:45 AM
Experiencing this too. These things are a nightmare to use and I'm tired of every update making subtle undocumented changes to how they work. I'm tempted to say you shouldn't rely on shared spatial anchors. They are insanely finicky both functionally and to work with : (
09-10-2024 03:15 AM
Did you solve it?
I check permission a thousand of times, trying all about the documentation and forum but I have always the error -1006
09-17-2024 06:00 AM
No unfortunately, it is still unsolved. I assume it's an issue with the SDK, and I haven't seen any updates from Meta that should fix it. Please let me know if you find any solution!