Forum Discussion
Anonymous
2 years agoOther users can't see Shared Spatial Anchors
Hey,
I copied and am trying out the demo project from https://github.com/oculus-samples/Unity-SharedSpatialAnchors
Everything works fine, until I share the anchor. I can get two users to join the same room, a user can create an anchor, and the console says everything is working fine. The user can share the anchor, and the console says share was successful. However nothing happens for the other users. They do not see the anchor. Is there something the other users are supposed to do in order to find the anchor? I feel that there is something simple that I am just missing.
4 Replies
Replies have been turned off for this discussion
- Anonymous
The share Icon goes red, which probably means it failed. But what are some reasons that the sharing would fail?
Are you following these tasks:
1) Create your anchor with the first user
2) Save the Guid assigned to it (youll need to send it to the other users so they can load the anchor)
3) Save the anchor to the cloud
4) Share the anchor with your other users' IDs
5) Transmit the Guid to the other users
Once the other users receive the Guid, they should:
6) Use "OVRSpatialAnchor.LoadUnboundAnchors" to load the anchor (by guid) from the cloud
7) create a new game object
😎 add a OVRSpatialAnchor component to it
9) Call the Bind method on the unbound anchor to bind it to the new anchor
Maybe this helps?
- Anonymous
Yeah I'm pretty sure the demo app from meta does all of that. Everything works until I share and the console says status "-1006".
- Anonymous
So I think the problem may be that I need to allow the app Spatial Data permissions in settings. The problem is is my app doesn't show up in the list when I go there. This is so ridiculous. I did colocation on the Hololens and it was nowhere near as problematic.
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