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
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
- Errors and warnings are thrown after installing Visual Effect Graph Learning Samples
- Add Behaviour dropdown has a part in which the dropdown outline is cut out when the Add Behaviour dropdown is opened
Add comment