Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.4
2019.3.0b8
2020.1
Issue ID
1196083
Regression
No
[IL2CPP] Player crashes when IPInterfaceProperties.GetIPv4Properties() is called in an IL2CPP build
How to reproduce:
1. Open the user-supplied project
2. Make sure the scripting backend is set to IL2CPP and the API compatibility level is set to .NET Standard 2.0 in the Player Settings
3. Build and run the "SampleScene" Scene
4. Observe the crash
Reproducible with: 2018.4.13f1, 2019.2.12f1, 2019.3.0b10, 2020.1.0a13
Could not test with: 2017.4.34f1
Note: the Player crashes after being built on Unity versions 2018.4 through 2020.1. The Script throws a NullReferenceException when entering Play Mode in the Editor. In 2020.1, the NullReferenceException is not thrown in the Editor Console. Crash occurs on both .NET 4.x and .NET Standard 2.0. The build does not crash when the scripting backend is set to Mono. If GetIPv4Properties() is changed to GetIPv6Properties(), the build does not crash. Could not test on 2017.4 due to IL2CPP not being available.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- WebGL Player with WebGPU Graphics API fails to render Scene when custom Render Feature is used
- “EndLayoutGroup” error thrown when changing Shader Precision Model settings in Build Profiles window > Player Settings Overrides
- Button hover state uses default theme color when a custom .uss is applied
- Samples Showcase script warning does not clear after enabling required settings until GameObject is reselected
- VFX Particles receive shadow artifacts when using ShaderGraph with enabled shadows and Face Camera Plane Orient mode
Add comment