Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2020.3
2020.3.21f1
2021.1
Issue ID
1409294
Regression
No
[Coverage] Coverage api returns no sequence points for switch expression
Steps to reproduce:
1. Open attached project
2. Make sure that code coverage is enabled
3. Open Test Runner and run ATestSimplePasses test
4. Inspect CovTest class in generated coverage report
Notice that part of switch expression (lines 1 => 1 and _ => 0) in switch_constant_pattern method shows up as not coverable.
Reproduced with: 2020.3.21f1, 2021.1.26f1
Not reproducible: 2021.2.14f1, 2022.1.0b10, 2022.2.0a8
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
- Other threads get resized when trying to resize thread groups on the Timeline of the Profiler window
- Green highlight for selected panel lacks contrast when Editor theme is set to Light
- [Android] AR Camera Background has a white/bright tint when deployed with Gamma Color Space and Vulkan API
- Crash on TextCore::OTL_GPOS_TableReader::GetLookupList when changing to a specific Font in the UI Builder
- Reverting [SerializeReference] List property creates persistent element overrides in Prefab Variants
Resolution Note (fix version 2021.2):
Fixed in 2021.2 stream