Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
0.17.0-preview.41
Issue ID
1320697
Regression
No
Compiler error when using Ternary operator with bit flags
Reproduction steps:
1. Open user attached Project
2. Check the console for an error
Expected result: The if statement is interpreted correctly
Actual result: The if statement causes an error
Reproducible with: 0.16.0-preview.21 (2020.3.5f1), 0.17.0-preview.41 (2021.1.4f1)
Could not test with: 2019.4, 2021.2 (Compiler errors)
Notes:
Changing it to a standard if statement resolves the issue
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Field names under "Anchors" in the RectTransform Component don't get focused when "tabbing" through the fields
- [macOS] Project Browser's Search by Type stops working after importing Assets into a Project and searching for Types "In Assets"
- The Particle System Trail module creates Trails with a lighter coloring than the particles when the Color Space is set to Linear
- Crash on "DynamicBranchState::PrepareState" when entering the Play Mode with a shader variant collection that has a shader with a "dynamic_branch" keyword
- Crash on "in __pthread_kill" when running the built application that has UNITY_EDITOR scripting symbol in conditional compilation
Add comment