Local multi-player system in Hololens.

Scarlett Wangle 41 Reputation points
2023-03-10T04:25:32.16+00:00

I want to develop a multi-player system in Hololens where two people can see the same virtual space. The effect I want is simple, such as two people playing virtual chess in the same physical room. The system only needs to provide one virtual chess board for them to see.

However, all the methods I see are complicated. The host Hololens needs to create the anchors through Azure Spatial Anchors, transport the message through customized multi-player networking such as Photon, and then deploy the anchors to the client Hololens.

Is there any simple way or existing SDKs that can quickly help me to build a simple multi-player system in Hololens? Please give me some advice, thanks!

Azure Spatial Anchors
Azure Spatial Anchors
An Azure service that is used to build immersive three-dimensional applications and experiences that map, persist, and restore content or points of interest at real-world scale.
88 questions
HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
390 questions
0 comments No comments
{count} votes

Accepted answer
  1. Zuocheng Wang - MSFT 3,086 Reputation points Microsoft Vendor
    2023-03-10T08:58:15.5533333+00:00

    Hello, Welcome to Microsoft Q&A,

    Currently, there isn't an easy out-of-the-box multiplayer solution on HoloLens. Implementing multiplayer games with ASA and Photon is the right direction.

    ASA provides detailed documentation to get you started, please refer to Tutorial: Create a new HoloLens Unity app - Azure Spatial Anchors | Microsoft Learn. HoloLens also provides a Photon-related tutorial, which can help you get started quickly, please refer to Introduction to the Multi-user capabilities tutorials - Mixed Reality | Microsoft Learn. For more information about Photon, you can visit the Photon Engine official website.


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    2 people found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful