Search Issue Tracker
Won't Fix
Votes
0
Found in
2019.2
2019.3
2019.3.0b11
Issue ID
1199261
Regression
No
Unhandled Exception is thrown when building with IL2CPP for Android when using HttpEncoder from System.Web
Steps to reproduce:
1. Open user's attached project "Testing.zip"
2. Try building it on Android Platform
3. Notice the errors in the console "Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object."
Expected results: Project builds IL2CPP for Android when using HttpEncoder
Actual results: Project fails to build with IL2CPP for Android when using HttpEncoder
Reproducible with: 2019.2.14f1, 2019.3.0f1, 2020.1.0a15
Notes: An error is thrown if switching to the StandAlone platform "The type or namespace name 'Util' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)". The project Unable to build in 2018.4 due to different errors
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
- [URP][Lighting] The skybox doesn't render after changing the settings of the Material when using the URP Render Pipeline
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
Resolution Note:
IL2CPP has limited support for code in the System.Web namespace. Use the .NET Standard 2.0 Api Compatibility level to get the support that does exist.