Skip to main content
Inspiring
December 8, 2021
Solved

Spatial Anchor example scene broken

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).

GustorvoAnswer
Inspiring
December 9, 2021

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

7 replies

GustorvoAuthor
Inspiring
December 9, 2021

[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?

GustorvoAuthorAnswer
Inspiring
December 9, 2021

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

Up and Coming
December 12, 2021

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

GustorvoAuthor
Inspiring
December 12, 2021

Make sure you have “enabled passthrough“ checked in OvrManager

Inspiring
September 14, 2022

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

Participant
November 4, 2022

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?

Inspiring
December 20, 2022

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