BlackOut977
3 years agoExplorer
Shared Spatial Anchors appearing, but player not syncing
We're trying to build an experience with Shared Spatial anchors, and it seems like we've followed the example scene well. We're able to create an anchor, save it to the cloud, share it to another pla...
- 3 years ago
Hey! Yes. It looks like we were trying to align the player to the anchor in the same frame it was instantiated and InitializeFromExisting() was called. Apparently the transform data isn't properly loaded in yet. So we just Invoked() our AlignPlayer() function after 2 seconds to give the Anchors local transform data a chance to properly setup.
After that, it should just be a case of playing with your alignment function to make sure it's logic is fine. If you're always getting rotated 180* in the wrong direction but your anchors right, I would assume that should be pretty easy to fix.
Feel free to post your code if you need!