Search Issue Tracker
Duplicate
Votes
0
Found in [Package]
1.2.4
Issue ID
COV-32
Regression
No
Variables are reported as uncovered lines and methods when using inline initialization
Reproduction steps:
1. Open the attached project "44715.zip"
2. Open the Test Runner window
3. Click Run All
4. Click Run All again
5. Open the index.html in the opened directory
Expected result: Line and method coverage is 100%
Actual result: Line coverage is 81.8% and method coverage is 60%
Reproducible with: 1.2.2 (2021.3.22f1), 1.2.4 (2021.3.28f1, 2022.3.4f1, 2023.1.2f1, 2023.2.0a22)
Reproducible on: macOS 13.4.1 (Intel), Windows 10 (user's)
-
Resolution Note:
Duplicate of another internal issue: COV-19: Code Coverage marks static variables as unused when they are used
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
- Crash on mono_dump_native_crash_info when changing a Particle System Renderer’s Material Shader to Standard Unlit
- VFX Prefab doesn’t have Preview icon in Project window and Preview window is empty in Inspector window
- “RenderSettings customReflection texture has invalid type” error keeps getting thrown even when Environment Reflections was set back to Skybox from Custom with an invalid texture
- Particle System with the custom Material breaks the Scene view when the material is using a Shader Graph with the Texture with the power of negative value
- Invalid asset path & Invalid value for font MissingAssetReference Warnings are spammed when deleting a Font used by any Element in UI Builder
This is a duplicate of issue #-19