Search Issue Tracker

Fixed in Unity 2018.3



Found in


Issue ID




[IL2CPP] Using System.Net.Sockets.Socket.IOControl and IL2CPP crashes the application




Priority: 3Not yet prioritized for a release


Severity: 1Crash, freeze, data loss, work stops

To reproduce:

1. Download attached project "" and open in Unity
2. Open "test" Scene
3. Change Scripting Backend to IL2CPP
4. Build and Run
5. Run application

Expected result: Everything works fine
Actual results: Application crashes

- Logcats are shared in the Comments section
- The stack trace is shared in the Comments section
- This issue is reproducible on Android and iOS devices
- This issue is reproducible in Windows and OSX Standalones
- This issue is not reproducible in Editor
- This issue is not reproducible on .NET 3.5 IL2CPP / Mono and .NET 4.6 Mono
- On Unity 2018.3.0a4, it crashes with a black screen

- Samsung Galaxy S6 (SM-G920F), OS: 7.0, CPU: Exynos 7 Octa 7420, GPU: Mali-T760 - Reproduced
- Sony Xperia Z2 (D6503), OS: 6.0.1, CPU: Snapdragon 801 MSM8974PRO-AB, GPU: Adreno (TM) 330 - Reproduced
- Google Pixel (Pixel), OS: 8.1.0, CPU: Snapdragon 821 MSM8996 Pro, GPU: Adreno (TM) 530 -Reproduced
- iPhone 6S Plus, iOS: 10.3.2 - Reproduced

Reproduced on Unity 2017.1.4p2, 2017.2.3p2, 2017.3.2f1, 2017.4.7f1, 2018.1.8f1, 2018.2.0f2 and 2018.3.0a4

All about bugs

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