Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2018.4.X, 2019.4.X, 2020.1.X
Votes
12
Found in
2018.4
2019.3.14f1
2020.2
Issue ID
1251011
Regression
No
System.Net.Socket objects throw ArgumentException in IL2CPP after installing Windows SDK 2004
How to reproduce:
1. Install SDK 10.0.19041.0 ( https://developer.microsoft.com/en-us/windows/downloads/sdk-archive/ )
2. Open the attached "UnityTicket_Sockets.zip" project
3. Build and run a WIndows 10 dev build
4. Push the button marked "Run Test"
Expected Behavior: Socket is created and methods executed without errors
Actual Behavior: Exception appears in the Dev Build Console
Reproducible with: 2018.4.23f1, 2019.4.0f1, 2020.1.0b11, 2020.2.0a13
Note: make sure to install windows-IL2CPP build target on your Unity version. Screenshot "UnityTicket_Sockets_hoW5pbhqxO.png" attached
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
- [HDRP] [DXR] Shadowmatte doesn't support RT shadows
- [HDRP] TAAU@100% and TAA produces different results
- [HDRP] APV debug mode Validity Over Dilation Threshold doesnt take touchup volumes in account
- [Web] Project doesn't build when a version file is included
- Performance cost of looping animations increases over time
mayasarii876
Mar 08, 2022 07:15
http://103.56.148.201/
http://103.56.148.201/newmpo
http://103.56.148.201/mpo17
http://103.56.148.201/mpomm
http://103.56.148.201/mpotower
http://103.56.148.201/parisklub
http://103.56.148.201/juraganslot
http://103.56.148.201/mpo500
http://103.56.148.201/mpokick
http://103.56.148.201/mpoyes
http://103.56.148.201/xyzklub
http://103.56.148.201/betmpo
http://103.56.148.201/ogslot88
http://103.56.148.201/hoki777
http://103.56.148.201/mpojuta
http://103.56.148.201/299slot
http://103.56.148.201/mpo188
http://103.56.148.201/mpogacor
http://103.56.148.201/mpo300
http://103.56.148.201/rgo365
http://103.56.148.201/kingdom288
http://103.56.148.201/wigompo
http://103.56.148.201/mpo8899
http://103.56.148.201/mpopelangi
http://103.56.148.201/mpo555
http://103.56.148.201/dutampo
http://103.56.148.201/klik368
http://103.56.148.201/388hero
http://103.56.148.201/19dewa
http://103.56.148.201/mpoxl
http://103.56.148.201/mpoas
http://103.56.148.201/mposun
http://103.56.148.201/qqslot
http://103.56.148.201/mposport
http://103.56.148.201/dewa234
http://103.56.148.201/mesinmpo
SevenPointRed
Jul 28, 2020 08:21
2 Months and this breaking bug still isnt fixed in an LTS release.
alexander_unity574
Jun 26, 2020 13:19
I have the same bug. So, right now i'm using the old Windows SDK, but at some point, we would have to move to new Windows sdk 10.0.19041.0, and right now, i don't know of how we will do it.
Right now the better solution is to delete Windows sdk 10.0.19041.0, and have installed on your PC only Windows sdk 10.0.18362.0.
mrmcduck
Jun 15, 2020 17:40
Same for me, here's the stack trace:
ArgumentException: Value does not fall within the expected range.
at System.Net.Sockets.Socket.SetSocketOption (System.Net.Sockets.SocketOptionLevel optionLevel, System.Net.Sockets.SocketOptionName optionName, System.Int32 optionValue) [0x00000] in <00000000000000000000000000000000>:0
at System.Net.Sockets.Socket.SocketDefaults () [0x00000] in <00000000000000000000000000000000>:0
at System.Net.Sockets.Socket..ctor (System.Net.Sockets.AddressFamily addressFamily, System.Net.Sockets.SocketType socketType, System.Net.Sockets.ProtocolType protocolType) [0x00000] in <00000000000000000000000000000000>:0
Horrible solution but in case you need a quick fix:
Go to C:\Program Files (x86)\Windows Kits\10, then do the following for the folders bin, lib & include:
Rename "10.0.19041.0" folder, copy folder of older version (for me 10.0.16299.0) and rename it to "10.0.19041.0".
This is a horrible thing to do and may break a lot of other things if you need it for anything else but the IL2CPP unity compiler, but just uninstalling the latest SDK did not work (il2cpp.exe crash -
although it worked previously without it).