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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
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