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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment