Search Issue Tracker

Fixed in 2021.2.X

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

Votes

0

Found in

2018.4

2019.4

2019.4.18f1

2020.2

2021.1

2021.2

Issue ID

1313160

Regression

No

Delegate.EndInvoke always returns null in a Build when using the IL2CPP Scripting Backend

IL2CPP

-

How to reproduce:
1. Download and open the attached project from the Google Drive link
2. Open File > Build and Run
3. Observe the Development Console in the Build

Expected result: No visible errors present
Actual result: NullReferenceException gets thrown in the Console

Reproducible with: 2018.4.31f1, 2019.4.20f1, 2020.2.4f1, 2021.1.0b6, 2021.2.0a4

Notes:
- The issue doesn't reproduce in the Editor
- The issue is not reproducible when the Scripting Backend is set to 'Mono'
- The issue is reproducible with both .NET Standard 2.0 and .NET 4.x

  1. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0a8

  2. Resolution Note (fix version 2021.1):

    Fixed in 2021.1.4f1

  3. Resolution Note (fix version 2020.3):

    Fixed in 2020.3.4f1

  4. Resolution Note (fix version 2019.4):

    Fixed in 2019.4.24f1

  5. Resolution Note (fix version 2018.4):

    Fixed in 2018.4.34f1

Add comment

Log in to post comment