Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.

NetworkView in Unity

When I click on NetworkView (Component > Miscellaneous > NetworkView) in Unity, I get the error "The component NetworkView can't be added because it is not supported by selected platform."

Does this mean Hololens does not support multiplayer games built through Unity? If not, is there another way to share information on a network? Thanks!

Tagged:

Answers

  • AlexDAlexD ✭✭✭

    I have not tried to use the NetworkView component, but I can say that there are ways to create shared experiences via network in HoloLens.
    Microsoft has built and opensourced a great tool set for this -HoloToolkit.
    For a sample of how to use it and what it can do, check the Academy Holograms 240 tutorial.

  • @IGITech,
    HoloLens is a Windows Universal Platform and as such requires components written using that API. It is possible that the NetworkView component uses APIs that are not available on HoloLens. In fact, when I attempted to add the component using beta 22 of the Unity HTP, the option was disabled.

    As @AlexD mentions, there are other ways you can share data over the network, as demonstrated in the Shared Holograms course. The scripts and components demonstrated in this course are also available in the HoloToolkit and HoloToolkit-Unity open source projects.

    Thanks!
    David

  • I don't think NetworkView is what you want anyway...It's been deprecated.

    https://docs.unity3d.com/Manual/net-NetworkView.html

    points you to

    https://docs.unity3d.com/Manual/UNetSetup.html

    ===
    This post provided as-is with no warranties and confers no rights. Using information provided is done at own risk.

    (Daddy, what does 'now formatting drive C:' mean?)

  • I am facing the similar issue with NetworkTransform omponent. It syncs movement correctly across multiple lap top clients but It does not work with hololenses.

Sign In or Register to comment.