cancel
Showing results for 
Search instead for 
Did you mean: 

Oculus Spatial Anchor drifts in the Passthrough space

vivekrajagopal
Protege

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 4

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

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. 

Sorry can you give me what was included in the XMlL file?

A bit late, but for future devs:
Use the Meta Tools menu in Unity:

Sandstedt_0-1730574459973.png

But it still drifts for me using v69 of the OS and the All-in-one SDK. Did you solve it?