Search Issue Tracker

Fixed in 2021.2.X

Fixed in 2020.3.X, 2021.1.X

Votes

0

Found in

2020.2

2020.2.2f1

Issue ID

1312533

Regression

Yes

il2cpp does not compile null coalescing operator properly for bool

IL2CPP

-

Reproduction steps:
1. Open attached project "NullFail.zip" and scene "TestScene"
2. Build and Run
3. In Build, press on the "Test it!" button
4. Observe the text output that appears next to it

Expected result: 'b is False'
Actual result: 'b is True'

Reproducible with: 2020.2.0a12, 2020.2.0a21, 2020.2.4f1
Not reproducible with: 2020.2.0a11, 2021.1.0a1, 2021.1.0b6, 2021.2.0a4
Could not test with: 2018.4.31f1, 2019.4.20f1 (compilation errors)

  1. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0a12

  2. Resolution Note (fix version 2021.1):

    Fixed in 2021.1.0b12

  3. Resolution Note (fix version 2020.3):

    Fixed in: 2020.3.2f1

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.