Search Issue Tracker
Not Reproducible
Votes
5
Found in
2017.1.0f3
Issue ID
946986
Regression
No
[Hololens] NetworkDiscovery as Client on Hololens does not receive NetworkEvents
Steps to reproduce:
1. Open the attached project
2. Open the Assets/scene.unity scene
3. Switch platform to Windows Store
4. Build for WSA Universal 10 SDK
5. Play the scene
6. Initialize NetworkDiscovery and Start Broadcasting
7. Run the built app on remote device(Hololens)
8. Initialize NetworkDiscovery and then Listen to Broadcasts
9. Observe, no NetworkEvents are received
Expected result: NetworkEvents should be recieved
Actual result: Hololens does not receive NetworkEvents
Reproduced with: 5.6.3p4, 2017.1.1p4, 2017.2.0f2, 2017.3.0b3, 2018.1.0a3
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Render Graph Execution errors when using GPU occlusion culling with 'Opaque Objects' frame setting disabled on a Camera
- Animator window: “Delete” menu item not greyed out for Base Layer context menu
- Resetting “PC_RP Asset (Universal Render Pipeline Asset)” causes Game view to become black and throws Renderer and NullReference errors in the Console window
- [Mobile] Player Crash on scripting_invoke_profiler_begin when the built Player Scene has an empty UIDocument and is built on IL2CPP
- Unnecessary Warnings are logged when running Player with -batchmode -nographics
Resolution Note (2019.2.X):
This is an unfortunate limitation in UWP apps that Microsoft imposes on us. We cannot fix it. See this: https://msdn.microsoft.com/library/windows/apps/hh780593?f=255&MSPPError=-2147217396
"Further, a Windows Runtime app can use an IP loopback only as the target address for a client network request. So a Windows Runtime app that uses a DatagramSocket or StreamSocketListener to listen on an IP loopback address is prevented from receiving any incoming packets."
I verified when running the app on 2 different devices (PC and HoloLens) both devices were able to see each other's network requests.
Note: if this doesn't work it's likely a networking or firewall configuration problem and not an issue with Unity or the networking API.