Search Issue Tracker
By Design
Votes
0
Found in
2018.4
2019.4
2020.1.1f1
2020.3
2021.1
2021.2
Issue ID
1319469
Regression
No
[iOS] IL2CPP build fails due to KeyNotFoundException in a networking dll
Steps to reproduce:
1. Open the attached project ("1319469.zip")
2. Go to Player Settings (Edit -> Project Settings... -> Player)
3. Select Scripting Backend to be IL2CPP (Configuration -> Scripting Backend)
4. Attempt to build the project
Expected results:The build is finished successfully
Actual results: The build fails with due to IL2CPP not catching a KeyNotFoundException
Reproducible with: 2018.4.33f1, 2019.4.24f1, 2020.3.2f1, 2021.1.2f1, 2021.2.0a12
Notes:
- Build succeeds with Mono
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
- Errors "InvalidOperationException: Trying to use a texture (_InternalGradingLut)..." and “Render Graph Execution error” shown and Scene turns black when 16 or more Render Objects are used
- GameObjects in the Game View are rendered differently than in the Scene View when the Rendering Path is set to "Deferred" and Screen Space Shadows Renderer Feature is added
- Errors “InvalidOperationException: Trying to use a texture (_CameraDepthTexture)...” and “Render Graph Execution error” shown when selecting GameObjects with Mesh Renderer from the Hierarchy
- macOS stutters in a minimal project
- [Usability] HDRP Wizard calls for VR fixes when opening the HDRP Wizard a second time after they have already been applied and the Wizard has finished checking
Resolution Note (2021.2.X):
This code uses a default interface method from C#, which Unity does not support.