Search Issue Tracker

Fixed in Unity 2018.1

Votes

8

Found in

2017.1.0p4

Issue ID

943671

Regression

No

[.NET 4.6][iOS] UdpClient EndReceive fails with ArgumentException: System.Net.SocketAddress is an invalid size

Scripting

-

-

Priority: 4Not yet prioritized for a release

-

Severity: 2Core functionality majorly impacted

Steps to reproduce:
1. Download MulticastExample.zip
2. Run the project
3. Build the "Main" scene to an iOS device
4. In iOS device, click the checkbox for client and then click start.
5. In editor, enter play mode and click start (with server selected)

Result: Exception The supplied System.Net.SocketAddress is an invalid size for the System.Net.IPEndPoint end point.
Parameter name: socketAddress
at System.Net.IPEndPoint.Equals (System.Object comparand) [0x00000] in <00000000000000000000000000000000>:0

Expected result: no ArgumentException errors are thrown.

Reproduced on: 2017.1.0p5, 2017.2.0b9, 2017.3.0a4

Comments (2)

  1. 38f57eb8935db6a6e14829dd73193e1a?d=mm

    danl1240

    Jan 17, 2018 22:56

    Yeah patch notes show it "fixed" in 2017.1.2p3... and this page shows it reproduced on later versions. How does that work?

  2. 45df26c87442a0365589482cbbeca9cd?d=mm

    junestone

    Oct 28, 2017 07:15

    same here, very seriously bug which forces our project back to .net3.5

All about bugs

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