Search Issue Tracker
Active
Under Consideration for 1.0.X, 1.1.X, 1.2.X
Votes
0
Found in [Package]
1.2.0
Issue ID
COV-19
Regression
No
Code Coverage marks static variables as unused when they are used
How to reproduce:
1. Open the attached "1427735_Repro.zip" project
2. Open the Scene "SampleScene"
3. Open the Code Coverage (Window->Analysis->Code Coverage)
4. In Code Coverage press "Start Recording"
5. Enter the Play Mode
6. In Code Coverage press "Stop Recording"
7. Open the "index.htm" file (windows explorer pointing to it should've opened automatically after the recording was stopped in CodeCoverage/Report location)
8. In the Coverage section select Assembly-C Sharp->NewbehaviourScript
Expected results: Under the File section, the 7th line is marked green
Actual results: Under the File section, the 7th line is marked red
Reproducible with: 1.0.0, 1.1.1 (2019.4.40f1, 2020.3.36f1, 2021.3.4f1, 2022.1.6f1, 2022.2.0a17
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Add comment