Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2021.3.X, 2022.1.X
Votes
0
Found in
2021.2
2022.1
2022.1.0b12
2022.2
Issue ID
1413051
Regression
No
IL2CPP Build fails when using .NET Framework API Compatibility
How to reproduce:
1. Open the user attached "IL2CPPTypeConversion.zip" project
2. Build the project (File -> Build Settings -> Build)
Expected result: Succesful build
Actual result: Failed build
Reproducible with: 2021.2.19f1, 2022.1.0b15, 2022.2.0a9
Couldn't test with: 2019.4.37f1, 2020.3.33f1 (Missing assembly reference)
Note:
- Reported on Windows 11 reproduced with MacOS
- Not reproducible when API Compatibility Level is set to ".NET Standard"
- API compatibility can be changed in the Player Settings (File -> Build Settings -> Player Settings)
- Not reproducible with Scripting Backend set to 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
- Animator Controller throws MissingReferenceException after undoing Layer Creation
- Full stack trace is always printed when an exception occurs in an IL2CPP build
- Licensing Client fails to launch when opening Unity Hub (licensing client path is not found)
- Licensing Client fails to launch when opening Unity Hub
- Different custom Shader behavior when GPU Resident Drawer is enabled
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a16
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.4f1
Resolution Note (fix version 2021.3):
Fixed in: 2021.3.4f1