Whenever I move, the holograms I set in place with spatial anchors start to shift as well. The whole scene typically shifts toward me, and as I make my way back to the spatial anchors the scene goes back in place. How do I resolve this issue?
Unity Editor version : 2022.3.16 ML2 OS version : 1.8.0
Few questions:
Which version of the Magic Leap SDK are you using?
Are you using OpenXR and the Spatial Anchor Storage API?
Have you mapped the space with the Spaces app?
Do you see a head tracking lost message before the content shifts? What type of environment are you tracking in?
How are you anchoring the content?
Using version 2.3.0
Yes, using both OpenXR and the Spatial Anchor Storage API
Yes, I have mapped the space with the Spaces app.
I don't see a head tracking lost message, and I'm tracking in an office space.
I anchored the content by following the spatial anchor demo scene included with the Magic Leap SDK 2.3.0 project, with some minor adjustments to fit how our apps work.
Do you mind providing us with additional steps so we can try to reproduce this? I tested the spatial anchor example from the Magic Leap Unity Examples project on my device and the anchors appear stable. Have you tried remapping your space?
You can check the Spatial anchor locations in your map using the system logic by doing the following:
Open the Spaces app
Make sure you are localized into your space by selecting the icon to the left of the Space's name. The icon should glow purple when the device is localize.
Select the "..." button on the far right of the space, then press View Space.
The app will then display the Spatial Anchors in your space.
Hi, could you share a link to the examples project you looked at. I want to compare our implementations and see if maybe there's something I'm doing wrong.