03-21-2025 01:49 AM
Hello!
I'm currently developing a Colocation App,
my goal is to store information of object position for take them be in the same position when you login again.
Actually i would like to just instantiate this objects as child of the colocation anchor and keep in the save info the localposition as an offset.
the problem i would like to troubleshoot is about the building block of colocation, it is creating every time you init him a new anchor, instead for my usage I would prefer to check if he have a anchor saved and then load/instantiate it.
what i can do?
here some extra informations:
Engine: Unity 6 (6000.0.37f1)
Meta XR SDK: 72.0.0
Solved! Go to Solution.
03-23-2025 05:25 AM
The Building Block won't take care of your use case. You would need to load your own anchor and then share that anchor instead of always creating a new one and then sharing that.
In this video you can see how to create and share anchors and create colocation: https://www.youtube.com/watch?v=elf6WuGzwdI
Here you can learn how to create, save, delete and load an anchor: https://www.youtube.com/watch?v=vaAQvdGYeak
03-23-2025 05:25 AM
The Building Block won't take care of your use case. You would need to load your own anchor and then share that anchor instead of always creating a new one and then sharing that.
In this video you can see how to create and share anchors and create colocation: https://www.youtube.com/watch?v=elf6WuGzwdI
Here you can learn how to create, save, delete and load an anchor: https://www.youtube.com/watch?v=vaAQvdGYeak
3 weeks ago