Forum Discussion
Gustorvo
4 years agoProtege
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).
My bad, I forgot to enable Experimental Mode in the headset.
7 Replies
- GustorvoProtege
[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?
- GustorvoProtege
My bad, I forgot to enable Experimental Mode in the headset.
- huangjunProtege
I got black screen when running app in quest2 but don't know why...
- GustorvoProtege
Make sure you have “enabled passthrough“ checked in OvrManager
- darkveins_Protege
What was the missing script on the Canvas GO? I also have a missing script there.
- FumezombieProtege
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_Protege
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
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 years ago
- 3 years ago