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
- ArgumentOutOfRangeException when manipulating the Project Settings search bar
- [Linux] Touch freezes in Player when any mouse button is clicked
- UnityEngine.Rendering.Volume.OnEnable() is called twice before OnDisable() creating multiple copies of the same volume when a volume is enabled right after Domain Reload when entering Play Mode
- Hinge Joint transforms are reset when toggling the "useMotor" property
- Motion Vector texture reports incorrect Mesh data when Mesh is coming from off-screen
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