Search Issue Tracker
By Design
Votes
0
Found in
2018.4
2019.4.12f1
2021.1
Issue ID
1284812
Regression
No
[IL2CPP] NotSupportedException is thrown in Build when using JsonDotNet plugin
How to reproduce:
1. Open the attached project (JsonDerp.zip)
2. Go to File -> Build Settings
3. Make sure to include the 'SampleScene' in the build
4. Build and run the project
Expected result: JsonConvert.DeserializeObject<>() works in IL2CPP builds and a number '5' is logged in the Development console
Actual result: NotSupportedException is thrown
Reproducible with: 2018.4.28f1, 2019.4.15f1, 2020.1.12f1, 2020.2.0b10, 2021.1.0a5
Notes:
The known workaround in similar issues to add a link.xml file does not seem to work in this case
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
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
Resolution Note:
IL2CPP does not support System.Reflection.Emit.