Search Issue Tracker

Fixed in 2018.1.X

Fixed in 5.6.X, 2017.1.X, 2017.2.X

Votes

0

Found in

5.6.1f1

Issue ID

944939

Regression

No

[IL2CPP] IL2CPP builds does not catch System.ArgumentException when trying to bind IPv6 Socket

IL2CPP

-

Socket.Bind(new IPEndPoint(IPAddress.IPv6Any, 5000)) throws exception (System.ArgumentException) and catch (Exception e) does not catch it when deploying on IL2CPP build.

Steps to reproduce:
1. Open attached project
2. Change Scripting Backend to IL2CPP
3. Build and Run for iOS or Android device

Expected behavior: exception is caught.
Actual behavior: player crashes.

Reproduced with: 2017.3.0a6, 2017.2.0b9, 2017.1.0p5, 5.6.3p2.

Add comment

Log in to post comment

All about bugs

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