Search Issue Tracker
Fixed
Fixed in 2021.3.20f1, 2022.2.9f1, 2023.1.0b6, 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
- Editor Perforce login fails when Perforce shows a license expiry warning
- Assertion failed error in HDRP builds when enabling STP via script
- FBX Resamples Curves incorrectly when importing FBX files
- ProBuilder GameObject Faces disappear when increasing the Sides Count value
- FileUtil.CopyFileOrDirectory throws IOException when destination parent folder does not exist
Add comment