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

IL2CPP

-

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

  1. Resolution Note (fix version 2022.2):

    Fixed in: 2022.2.0a16

  2. Resolution Note (fix version 2022.1):

    Fixed in: 2022.1.4f1

  3. Resolution Note (fix version 2021.3):

    Fixed in: 2021.3.4f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.