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
- "No HDR monitor detected." warning is shown in the Rendering Debugger even when the Editor is on HDR-enabled monitor
- Shader Graph Enum Keyword Default Value changes after reordering Entries
- Light Explorer throws “ArgumentException” error when disabling all columns from the Multi-column panel context menu
- "Freeze Camera For Culling" options are inconsistent between the Game view overlay and Rendering Debugger window
- Crash on GetOriginalSourceOrVariantRoot when creating a scene from a specific template
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a8