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
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)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The terrain appears darker when "Per-pixel Normal" is enabled
- [Linux] Editor assertion causes Test Runner to fail when executing it in Batch Mode
- Color selection by the mouse cursor is still enabled when the "Esc" button is pressed
- Game view becomes black and the Scene window becomes grey, “ArgumentOutOfRangeException” errors and “Render Pipeline error” warnings appear after changing the name or deleting URP/HDRP global settings file
- Transform Component is not accessible inside the Player when RuntimeInitializeOnLoadMethod is used
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a12
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0b12
Resolution Note (fix version 2020.3):
Fixed in: 2020.3.2f1