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

IL2CPP

-

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

Add comment

Log in to post comment