Forum Discussion
TriplePete
3 years agoMHCP Member
Unable to save spatial anchors to cloud
Trying to share spatial anchors to other local players.
The anchor is created without problem and getting a Uuid. Can save the anchor locally without problem.
But changing to StorageLocation.Cloud results in error.
saveOptions.Storage = OVRSpace.StorageLocation.Cloud;
oVRSpatialAnchor.Save(saveOptions, (anchor, success) =>
{
Debug.Log($"WaitForAnchorInit save cloud success={success}");
});
Always results in success=false with a "Save failed" in log - no other info.
Activated "Share point cloud data" under "Device Permissions" in Settings on HMD without any success.
For anyone looking for help on this topic, I found this sample project which I've confirmed works. https://developer.oculus.com/documentation/unity/unity-ssa-sf/
Try to mimic what they're doing here. The actual docs regarding shared spatial anchors don't even link this or mention it at all, and they're very insufficient. Hopefully this sample project helps shore up some of those issues.
3 Replies
- MVRKExplorer
I'm having the same issue. In my case I don't think I'm even getting a "Save failed" in my log. I'm also logging in to the presence platform if that makes a difference. Wondering If I'm missing something.
- MVRKExplorer
For anyone looking for help on this topic, I found this sample project which I've confirmed works. https://developer.oculus.com/documentation/unity/unity-ssa-sf/
Try to mimic what they're doing here. The actual docs regarding shared spatial anchors don't even link this or mention it at all, and they're very insufficient. Hopefully this sample project helps shore up some of those issues.
- ShavierProtege
Hii! I'm trying the share spatial anchor project but when I start the Share spatial anchors scene it logs an "error" saying: "You are not authenticated to use this app. Share Spatial Anchors will not work."
Any clue on how to solve it?
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 years ago
- 2 years ago
- 4 years ago