Search Issue Tracker
Fixed in 2021.3.20f1
Fixed in 2021.3.X, 2022.2.X, 2023.1.X, 2023.2.X, 2023.2.0a8
Votes
0
Found in
2020.3.42f1
2021.3.16f1
2022.2.1f1
2023.2.0a1
Issue ID
UUM-21101
Regression
No
IL2CPP build fails when a project is using IKVM.dll files
How to reproduce:
1. Open the user-attached “IKVM.zip” project with IL2CPP support installed
2. Build the project (File → Build Settings → Build)
Expected result: Project successfully builds
Actual result: Build fails with “System.Collections.Generic.KeyNotFoundException: The given key ‘System.Void System.IDisposable::Dispose()' was not present in the dictionary.”
Reproducible with: 2020.3.42f1, 2021.3.16f1, 2022.2.1f1
Couldn’t test with: 2023.1.0a23 (Error in Mono, not in IL2CPP)
Reproducible on: Windows 11 Pro 21H2, Windows 10 (10.0.19045) 64bit - User reported
Not reproducible on: macOS Monterey 12.6 (Intel)
Note:
- 2021.3.16f1, 2022.2.1f1 error: “Error: il2cpp.InvalidCommandLineArgumentsException: One or more assemblies must be specified using either --directory or --assembly”
- 2023.1.0a23 error: “Mono.Linker.LinkerFatalErrorException: ILLink: error IL1005: System.Windows.Forms.Control.set_Font(Font): Error processing method 'System.Windows.Forms.Control.set_Font(Font)' in assembly 'System.Windows.Forms.dll'“
- Even though the Scripting Backend is set to IL2CPP and not Mono, 2023.1.0a23 throws an error in Mono
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on UndoManager::RegisterUndoInternal when applying added GameObjects to a Prefab
- [Asset Bundles] A new bundle hash is not generated when the name of a serialized field is changed
- Icon section shows incomplete message and unusable check box in Build Profiles and Player Settings window instead of “Not applicable for this platform” for Dedicated Server Platform
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
Add comment