Search Issue Tracker

Fixed in Unity 2018.2

Votes

0

Found in

2018.1.0b8

Issue ID

1006506

Regression

No

Call to IPGlobalProperties.GetActiveUdpListeners() returns correct IP but wrong port number

Mono

-

-

Priority: 4Not yet prioritized for a release

-

Severity: 3Secondary functionality broken

To reproduce:

1. Open the project, attached by the tester (PortNumberWrong.zip)
2. Open the "SampleScene" scene
3. Enter Play mode
4. Observe the console
5. Create a C# console application and execute the same code as in the Unity project
6. Compare the outputs

Expected: port numbers, returned by GetActiveUdpListeners() in Unity, are the same as they are returned in C# application

Reproduced in 5.6.5p2, 2017.1.3p2, 2017.2.2f1, 2017.3.1p2, 2018.1.0b8, 2018.2.0a2

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.