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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Add comment