Build Local Multiplayer Experiences With Shared Spatial Anchors on Meta Quest

博客主图
Update February 7, 2023: Starting with Platform SDK v49, Shared Spatial Anchors is now also supported on Meta Quest 2 and PC Link in addition to Meta Quest Pro.

Earlier in 2022 we shipped Spatial Anchors, which lets you anchor virtual content in the physical world. This means you can place virtual content in a specific, real-world location (e.g., your wall) and see them in the exact same place every time you return to the same spot.
Today, we’re adding Shared Spatial Anchors to our Spatial Anchors capability within Presence Platform. Shared Spatial Anchors allows anchors created by one user to be shared with others in the same physical space. This enables you to build local multiplayer experiences by creating a shared world-locked frame of reference for multiple users. For example, two or more people can sit at the same table and play a virtual board game on top of it.
At Meta Connect, we showed a sneak peek of Magic Room, a mixed reality experience we’re building for Meta Horizon Workrooms that uses Shared Spatial Anchors. Magic Rooms lets any mix of people collaborate together, whether they are in the same place or remote. We also gave you a glimpse into local multiplayer games such as Advanced Vehicle Combat, where people in the same room can see the same world-locked virtual vehicles.

Shared Spatial Anchors

Shared Spatial Anchors is an extension of the Spatial Anchors API, providing additional methods that allow people to have local multiplayer experiences by sharing anchors between them. Upon loading a shared anchor, users are able to establish a shared frame of reference, enabling both devices to render shared virtual environments and content.
To create these experiences, Shared Spatial Anchors will enable the following actions:
  • Save: Saves the anchors and their associated point clouds to Meta servers
  • Share: Grant other users access to the anchor (download, track, share anchors)
  • Download: Retrieve Spatial Anchors that have been shared
  • Locate: Locate and retrieve specific 6DoF pose of Spatial Anchor relative to the headset

Protecting User Privacy

People who want to participate in local multiplayer experiences will need to turn on point cloud data sharing (i.e., sharing information about your environment converted to a set of points known as a “point cloud”) with Meta. In order for other co-located users to see the same virtual content as you, the same point cloud data needs to be shared from your headset to theirs. When “Share point cloud data” is turned on, point cloud data from one headset is passed through Meta servers and then shared to other headsets. Point cloud data sharing can be turned on or off in settings anytime.

Availability

Shared Spatial Anchors currently supports Meta Quest Pro, Meta Quest 2, and PC Link. The API is available for OpenXR, Unity, and Unreal developers.
Get started by referencing the documentation to learn more and to get access to the samples made available for developers’ reference.

Other Considerations

Local multiplayer increases the number of individuals in a shared physical space with restricted visibility of their surroundings. Crowded experiences create safety risks. It is important to be mindful of the occupancy of the playspace for the shared experience being built.
Reference the Shared Spatial Anchors Health and Safety Guidelines for more guidance and links to the developer Health and Safety Sample Apps.
OpenXR
Quest
Unity
Unreal
呈现平台
平台 SDK
应用
这个页面对你有帮助吗?
深入探索
Accelerate VR Development with AI & Immersive Web SDK
Just describe your VR experience. An AI assistant builds, tests, and validates it for you, so you can focus entirely on creative vision and unique gameplay.
Quest、WebXR、全部、应用、网络 VR、设计
GDC 2026 Highlights: What's Next on Meta Horizon OS
Catch up on GDC 2026: where VR is headed, what's new in Meta Horizon OS, and the tools and Store updates helping developers ship faster.
GDC、Quest、Unity、Unreal、全部、应用、游戏、设计
The State of VR at GDC 2026: Building a Sustainable Future
Explore the state of VR from GDC 2026: stronger app discovery, growing Meta Quest usage, more $1M+ titles, and much more.
Quest、Unity、Unreal、优化、全部、手势追踪、游戏、设计

Get the latest updates from Meta Horizon.

Get access to highlights and announcements delivered to your inbox.