04-16-2023 09:10 AM
I’m trying to spawn a Cube as spatial anchor. But after spawning it drifts if I move physically.
I’m add OVRSpatialAnchor after instantiating like this,
_cube.AddComponent<OVRSpatialAnchor>();
Please correct me if I have to check something on the build settings or some Oculus settings in Unity.
Thanks guys!
06-07-2023 08:56 PM
Hey, did you solve this issue at all? We have just stumbled across the same issue and its currently a blocking issue for us.
06-07-2023 09:16 PM
I’ve got it working. It was a minor thing.
Please go ahead and create a new XML file via Oculus -> Tools in Unity.
You have to update the XML to enable the Spatial Anchors working.
Try it and let me know.
06-07-2023 09:41 PM
Sorry can you give me what was included in the XMlL file?
11-02-2024 12:08 PM
A bit late, but for future devs:
Use the Meta Tools menu in Unity:
But it still drifts for me using v69 of the OS and the All-in-one SDK. Did you solve it?