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
- Character text is not bold in the title of GameObjects in the Inspector when naming using specific language characters
- IndexOutOfRangeException and GUI Error get thrown in Scene View when Articulation Body Edit Joints is set to "Edit the joint angular limits"
- Volumetric fog is not rendered around GameObjects that are baked with APV when Sky Occlusion is enabled
- UI Text color is incorrect when text is rendered on SubMeshUI
- "Invalid SortingGroup index set in Renderer" errors when making many modifications in same frame
Add comment