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.
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.
Search
-
Re: Hololens UDP server?
Thank you, Patrick! The #if / #endifs in the tutorial code were the key to solving this problem. Here's the working code I ended up with: using UnityEngine;using System;using System.IO;#if !UNITY_EDITORusing Windows.Networking.Sockets;#endifpublic class AndroidUDPListener : MonoBehaviour {#if !UNITY_EDITOR DatagramSocket… -
Re: Hololens UDP server?
@ahillier I see what you mean but method Start is mentioned as async and this gives problems with the compiler so I was wondering how this code is used. For now I added: #if UNITY_EDITOR void Start() {#endif#if !UNITY_EDITOR async void Start() { I am not sure if this is the way to go but it seems to do the job.
2 results