Netcode for Hololens

Hello,

I’m trying to connect my hololens 2 over LAN with the editor version of my unity program running on my computer. I set the IP address for the client to connect (on either device) and nothing happens. What’s the problem? Is there something that I have to do with firewalls?
I have the latest version of Netcode for this project.

Router: Port forwarding setup and Wifi isolation disabled?
All devices connected on the same subnet/wifi?
Can you ping?

I’m fairly new to this, so I’m not entirely sure how to do these things. They are both on the same network. I’m able to access the hololens from my computer over the windows device portal but unsure as how to ping, especially through the command line. For the router, I’m guessing I would need access to the router to conduct those two things? How would I check their current status?

JohnKuempelParsons,

Just out of curiosity, I believe Hololens requires UWP applications…if you are building a UWP application you will need to make sure you have the correct capabilities permissions set. For your local network I would make sure your UWP App has PrivateNetworkClientServer permissions.

@NoeStephens_Unity

Thank you so much! This is exactly what I was missing to continue our multiplayer environment setup on Hololens. I appreciate your help.

For anyone else with this issue, the capabilities are located in “Player Settings → Player → Publishing Settings → Capabilities”

Depending on your networking requirements, these are the checkboxes you should enable:

1 Like