Search Issue Tracker

Fixed in 2022.2.X

Fixed in 2021.3.X, 2022.1.X

Votes

0

Found in

2021.3

2021.3.2f1

2022.1

2022.2

Issue ID

1427170

Regression

No

IL2CPP exception when using function pointer with generic parameter from type and method

IL2CPP

-

Reproduction steps:
1. Open the attached project
2. Go to File > Build Settings
3. Press Build in the Build Settings window

Expected result: Project is built successfully
Actual result: IL2CPP exception is thrown

Reproducible with: 2021.3.3f1, 2022.1.1f1, 2022.2.0a13
Could not test with: 2019.4.39f1, 2020.3.34f1 (Feature 'function pointers' is not available in C# 8.0. Please use language version <version> or greater)

Reproduced with: macOS 12.4 (M1 Max)

Note:
-does not reproduce with Mono Scripting Backend

  1. Resolution Note (fix version 2022.2):

    Fixed in: 2022.2.0b2

  2. Resolution Note (fix version 2022.2):

    Fixed in: 2022.2.0b2

  3. Resolution Note (fix version 2022.1):

    Fixed in: 2022.1.8f1

  4. Resolution Note (fix version 2021.3):

    Fixed in: 2021.3.7f1

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.