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.

Debugging without building in visual studio?

Hello,
Is there a way to debug a multiplayer code that we write using UNET without building the solution in visual studio code? I am trying to figure out what is wrong with my hololens UNET project by building the solution and then changing some code and then building the project again.

Answers

  • Hey, @Jackson

    In fact it's suggested to test development-time debugging as a separate bare-bones collections of endpoints (say, a client and a server), preferably Editor-based. Thus you will save time on building (Unity+VS) and also focus on networking only. Even if you pass something like world anchors via network I recommend to still just debug the Editor-based networking and pass some random bytes or about the size of your usual anchor batches. You can just build some quick UIs with the immediate GUI (OnGUI) to focus solely on networking. You can either use two separate computers or have one (or more) endpoint as a standalone build and another in the Editor.

    Once networking is bulletproof you will simply put the actual payload onto it like the world anchor batches necessary for the shared experience for instance.

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

Sign In or Register to comment.