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
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a8