Hi XR Developers! For a long time, arguably the most difficult part about Meta’s XR SDK was dealing with Spatial Anchors and especially sharing them amongst all players in a multiplayer experience to create, what we call, a colocated experience. As of v71, the whole setup has become much easier and most tutorials out there are unfortunately not accurate anymore. I will show you how easy it has become to set up a colocated experience by making this video as concise as possible.
Resources:
🔗 Colocation Discovery: https://developers.meta.com/horizon/documentation/unity/unity-colocation-discovery
🔗 Shared Spatial Anchors: https://developers.meta.com/horizon/documentation/unity/unity-shared-spatial-anchors
Find the source code here!
🧑💻 https://www.patreon.com/posts/source-code-with-120484519
Other Videos:
📹 Meta Quest Spatial Anchors: https://www.youtube.com/watch?v=vaAQvdGYeak&t
📹 Use Meta’s Llama 3 Model in Unity with Amazon Bedrock & other partner services: https://www.youtube.com/watch?v=vpjRoGy7kCI&t
📹 Use Meta's Voice SDK for Wake Word Detection & Speech To Text (STT): https://www.youtube.com/watch?v=nKprzndVHQM
📹 How to use Lights & Shadows in Passthrough Mode: https://www.youtube.com/watch?v=p8LYtvNxcf0&t
📹 Get Started with Meta Quest Development in Unity: https://www.youtube.com/watch?v=BU9LYKM2TDc&t
📹 Destructible Global Mesh, Instant Content Placement and MRUK Trackables: https://www.youtube.com/watch?v=Ne2AFjXeanY&t
📹 Meta XR Simulator: https://www.youtube.com/watch?v=RRsxYtuO2iM&t
Join the Discord!
👾 https://discord.gg/v8fVjweUPB
Support the Channel:
🫂 Patreon: https://www.patreon.com/blackwhalestudio
🐦 Twitter: https://twitter.com/xrdevrob
🤝 Join this channel to get access to perks:
https://www.youtube.com/channel/UCat2tlm29PRViBe8_yz4j5Q/join
Need professional XR development for your project?
👨💻 Get in touch with us: https://bento.me/blackwhale
00:00 Intro
00:48 Group-based shared spatial anchors
02:23 Colocation Discovery
03:35 Colocation and Alignment Code
07:29 Scene Setup
08:28 Testing
09:14 Outro