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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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