Search Issue Tracker
Fixed in 2022.2.X
Votes
0
Found in
2020.3
2021.2
2022.1
2022.1.0a13
2022.2
Issue ID
1377994
Regression
No
Redundant for-loop in UnityEditor.Profiling.ModuleEditor.CounterCollector
How to reproduce:
1. Open "UnityEditor.Profiling.ModuleEditor.CounterCollector" source code
2. Search "for (int i = 0; i < counters.Count; i++)"
Expected result: Not found
Actual result: Found
Reproducible with: 2020.3.26f1, 2021.2.8f1, 2022.1.0b4, 2022.2.0a2
Couldn't test with: 2019.4.34f1 (ModuleEditor didn't exist)
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
- AI Assistant upgrade banner's `Open package Manager` link doesn't work
- Sub-asset UI does not refresh when undoing Renderer Feature add or remove actions in a URP Renderer asset
- Scene flickers with a green tint when using Screen Space Ambient Occlusion and Contact Shadows with raytracing
- Scripts with null Components on GameObjects are not removed when calling GameObjectUtility.RemoveMonoBehavioursWithMissingScript
- Color Curve Key values remain visible after changing Curve type
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a8