Forum Discussion

vivekrajagopal's avatar
3 years ago

Oculus Spatial Anchor drifts in the Passthrough space

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!

4 Replies

  • Hey, did you solve this issue at all?  We have just stumbled across the same issue and its currently a blocking issue for us. 

    • vivekrajagopal's avatar
      vivekrajagopal
      Protege

      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. 

    • Sandstedt's avatar
      Sandstedt
      Expert Protege

      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?