12-08-2021 03:29 PM - edited 12-08-2021 03:30 PM
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).
Solved! Go to Solution.
12-09-2021 04:44 AM
My bad, I forgot to enable Experimental Mode in the headset.
12-09-2021 02:35 AM - edited 12-09-2021 02:36 AM
[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?
12-09-2021 04:44 AM
My bad, I forgot to enable Experimental Mode in the headset.
12-12-2021 05:40 AM
I got black screen when running app in quest2 but don't know why...
12-12-2021 09:34 AM - edited 12-12-2021 09:34 AM
Make sure you have “enabled passthrough“ checked in OvrManager
09-14-2022 01:12 PM
What was the missing script on the Canvas GO? I also have a missing script there.
11-04-2022 07:20 AM
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?
12-20-2022 12:52 AM
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