Forum Discussion
dario.maciel
3 years agoStart Member
Spatial Anchor on Unreal - Samples and how to do it
I managed to install the sample. I took a look at it. I understand the idea but no matter what I tried, i cant start a project and develop spatial anchor from start. I would like to start a simple...
Shenksu
2 years agoExplorer
I got it to work finally. Ill sum it up real quick for others cause it was a bigger hustle for me, specially for those who are new:
1. I installed the metaxr plugin from the meta website for ue5.3.2 (can also be done via epic marketplace, search for "metaxr"). Maybe follow short install instructions on meta page: https://developer.oculus.com/downloads/package/unreal-engine-5-integration/60.0
2. Setup developer account at meta and bring the quest 3 into developer mode afterwards (like people do when sideloading stuff over adb)
3. Log out from oculus software on pc and re-login (needed to do it to make it recognize that iam a dev now)
4. Within the occulus software on pc: Switch "OpenXR-Runtime" to use the Oculus runtime
4. Also in occulus software: Go to "Preferences" -> "Beta" -> Switch on "Runtime Features for Devs". I checked "Passthrough via Oculus Link" and "Pointcloud via occulus link" (dunno how the english terms are. I use german language in app) - options will only appear once the software recognizes that you are dev. This is why i re-logged in.
5. In unreal i disabled openxr, restarted and enabled metaxr
6. In unreal under "Project settings" under "Plugins" open "Meta XR" i enabled "Anchor Support" and "Anchor Sharing"
After that i just followed the instructions on https://developer.oculus.com/documentation/unreal/unreal-spatial-anchors/
as you mentioned and works like a charm - also when running the VR project in UE Editor with Quest 3 being connected via Air Link ... So no need to build APK yay! 🙂
Thanks for helping me with this :))
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
- 2 years ago
- 2 years ago
- 4 years ago