Search Issue Tracker
Fixed in 2021.3.9f1
Fixed in 2021.3.X, 2022.1.X, 2022.2.X, 2023.1.X, 2023.1.0a6
Votes
1
Found in
2021.3.6f1
2022.1.9f1
2022.2.0b1
2023.1.0a3
Issue ID
UUM-8801
Regression
Yes
[IL2CPP] NotSupportedException is thrown when using Ping from System.Net.NetworkInformation
How to reproduce:
1. Open the attached project ("IN-9999_repro.zip")
2. Build And Run
Reproducible with: 2021.2.0a18, 2021.3.6f1, 2022.1.9f1, 2022.2.0b1, 2023.1.0a3
Not reproducible with: 2020.3.37f1, 2021.2.0a17
Reproducible on:
iPhone 13 mini (iOS 15)
macOS 12.1 (Intel)
NotSupportedException: ../mscorlib/System.Security.Principal/WindowsIdentity.cpp(19) : Unsupported internal call for IL2CPP:WindowsIdentity::GetCurrentToken - "This icall is not supported by il2cpp."
at System.Security.Principal.WindowsIdentity.GetCurrent () [0x00000] in <00000000000000000000000000000000>:0
at System.Net.NetworkInformation.Ping..cctor () [0x00000] in <00000000000000000000000000000000>:0
at PingExample..ctor () [0x00000] in <00000000000000000000000000000000>:0
Rethrow as TypeInitializationException: The type initializer for 'System.Net.NetworkInformation.Ping' threw an exception.
at PingExample..ctor () [0x00000] in <00000000000000000000000000000000>:0
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader warning in 'Hidden/Core/DebugOccluder' thrown after building High Definition 3D Sample Template
- Audio Mixer “+” buttons overlap with UI when the Audio Mixer window layout is set to Horizontal
- "Clear" button in the "Set project display name" closes all the pop-up instead of clearing just a name from the field
- Video Player renders no video on specific devices when using Vulkan
- The Editor slows itself down by showing tons of warnings when the majority of TransformAccessArrays content are NullRefs
Add comment