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.

Additional steps to setup Unity Networking for Hololens?

I have been bashing my head against this problem for a bit now, and could use a little help figuring it out.

I've been trying to test out some basic networking on the Hololens. I set up the basic Unity network tutorial with the Network Manager HUD as found in the Unity documentation here: https://docs.unity3d.com/2017.3/Documentation/Manual/UNetSetup.html.

I have been able to test the example with both an PC executable and an Android app, but I haven't been able to get a Hololens version of the tutorial to work. I am trying to run the Hololens as the host, and the connection just times out on both the Emulator and the actual Hololens.

In my Unity Player-Settings-Publishing settings, I do have the capabilities InternetClient, InternetClientServer, and PrivateNetworkClientServer options active.

Anyone have an idea what might be going on here? Thanks!

Tagged:

Answers

  • Hey @Halafaireet

    Are you typing in IPs or using network discovery to find the server from the client? There are also known cases where NetworkDiscovery on HOloLens won't work at all until you reset the HoloLens:

    https://forums.hololens.com/discussion/8525/hololens-stopped-doing-network-discovery-suddenly

    Hope this helps.

    Building the future of holographic navigation. We're hiring.

  • If you are trying to set up networking on the HoloLens I would recommend the SharingWithUnet example from the MRTK. It does a lot of the heavy work for you. As for the NetworkManagerHUD, to my knowledge does not work on the HoloLens but, it is useful if you don't want to deploy to two HoloLens and you can use your PC as a client for faster testing by typing in the HoloLens IP address.

    If you use the example above you don't need the NetworkManagerHUD on the HoloLens because it automatically searches for devices on the network on startup.

    AR Developer

Sign In or Register to comment.