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.
Is Unity's NetworkManager supported in HoloLens?
I am using it currently -- the log shows that the Network manager instance is started, and a client starts listening. However, a warning on startup also says that NetworkManager was stripped from the build. I am not getting the hololens to receive messages from another device on the network -- So I want to make sure it's supported.
If not, what is the best route to connect hololens devices over the network? Is it recommended to manually implement socket connections?
Best Answer
-
ahillier mod
Unity networking should work with the HoloLens, but I have not tried it myself.
Make sure that networking capabilities are enabled for your project (Edit > Project Settings > Player > select Windows Store icon > Publishing Settings). Check 'InternetClientServer' and 'PrivateNetworkClientServer'. If you already created a VS solution, these changes will not be migrated from Unity, so you'll have to set the capabilities in your manifest file too (or delete your VS build solution and have Unity regenerate it).
In our Academy 240 course, we use the Sharing component from HoloToolkit to do networking.
5
Answers
Unity networking should work with the HoloLens, but I have not tried it myself.
Make sure that networking capabilities are enabled for your project (Edit > Project Settings > Player > select Windows Store icon > Publishing Settings). Check 'InternetClientServer' and 'PrivateNetworkClientServer'. If you already created a VS solution, these changes will not be migrated from Unity, so you'll have to set the capabilities in your manifest file too (or delete your VS build solution and have Unity regenerate it).
In our Academy 240 course, we use the Sharing component from HoloToolkit to do networking.