cancel
Showing results for 
Search instead for 
Did you mean: 

Spatial Anchor example scene broken

Gustorvo
Level 4

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
Level 4

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

View solution in original post

7 REPLIES 7

Gustorvo
Level 4

[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
Level 4

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

huangjun
Level 4

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

Make sure you have “enabled passthrough“ checked in OvrManager

darkveins_
Level 3

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

Fumezombie
Level 4

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_
Level 3

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