Search Issue Tracker

Fixed in 2022.1.X

Fixed in 2019.4.X, 2020.3.X, 2021.1.X, 2021.2.X

Votes

0

Found in

2019.4

2020.3

2020.3.2f1

2021.1

2021.2

Issue ID

1328551

Regression

No

[IL2CPP] Project with specific dlls build fails due to errors in IL2CPP generated code

IL2CPP

-

Steps to reproduce:
1. Open the attached project ("Stripped 1328551.zip")
2. Make sure the Scripting Backend is IL2CPP
3. Build the project

Expected result: The build succeeds
Actual result: The build fails due to a number of errors related to the generated cpp code

Reproducible on: 2019.4.25f1, 2020.3.8f1, 2021.1.6f1, 2021.2.0a17

Notes:
- Reproduces both with .NET 4.0 and .NET 2.0
- Doesn't reproduce with Mono

  1. Resolution Note (fix version 2022.1):

    Fixed in 2022.1.0a1

  2. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0b7

  3. Resolution Note (fix version 2021.1):

    Fixed in 2021.1.14f1

  4. Resolution Note (fix version 2020.3):

    Fixed in 2020.3.14f1

  5. Resolution Note (fix version 2019.4):

    Fixed in 2019.4.29f1

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.