cancel
Showing results for 
Search instead for 
Did you mean: 

Spatial Anchor example scene broken

Gustorvo
Protege

I've just updated the unity integration package v35 and decided to try out the new feature - spatial anchor.

However, the Spatial Anchors Sample App doesn't seem to work. When in "Create mode" and pressing "A", nothing happens! There's also a script missing on the Canvas GO (CameraRig/RHandAnchor/rControllerAnchor/Menu Object/Canvas).

1 ACCEPTED SOLUTION

Accepted Solutions

Gustorvo
Protege

My bad, I forgot to enable Experimental Mode in the headset.

View solution in original post

7 REPLIES 7

Gustorvo
Protege

[Update]

Turns out the method OVRPlugin.SpatialEntityCreateSpatialAnchor fails and always returns false

Method get called from SpatialAnchorSession.cs at line 176.

Any ideas why it happens?

Gustorvo
Protege

My bad, I forgot to enable Experimental Mode in the headset.

huangjun
Protege

I got black screen when running app in quest2 but don't know why...

Make sure you have “enabled passthrough“ checked in OvrManager

darkveins_
Explorer

What was the missing script on the Canvas GO? I also have a missing script there.

Fumezombie
Protege

This missing script on the Canvas GO is really annoying. I've not found anything referring to what the script should be, just people commenting that it is missing. I assume that this is why the demo in the SDK (46.0) does not work.

Anyone know anything? Can anyone help?

darkveins_
Explorer

I was able to get the sample scene working with Oculus Integrations v43, even though the script was missing on the Canvas GO. Here are the steps I took. Probably not all of these steps are necessary.

1. Connect Quest to wifi
2. Enable dev mode on Quest
3. Enable experimental mode on Quest (I think I did this with SideQuest or adb)
4. Enable Spatial Anchors, Passthrough, and Experimental on OVRManager

Here are the versions I used:

-Unity 2022.1.16
-Oculus Integrations v43
-Oculus Quest 2
-il2cpp, ARM64