Search Issue Tracker
Fixed in 2022.2.X
Votes
0
Found in
2019.4.29f1
2020.3.13f1
2020.3.21f1
2021.1.10f1
2021.2.0a18
Issue ID
1376488
Regression
Yes
Performance degrades when using GetComponents(List<T> results)
How to reproduce:
1. Open the user's attached project
2. Open scene Test
3. Press the Play button and observe the Console
Expected result: logged execution time of GetComponents is around 100ms
Actual result: logged execution time of GetComponents varies from around 500ms to over 1200ms
Reproducible with: 2019.4.29f1, 2019.4.32f1, 2020.3.13f1, 2020.3.22f1, 2021.1.10f1, 2021.1.23f1, 2021.2.0a18, 2022.1.0a1
Not reproducible with: 2019.4.28f1, 2020.1.0a1, 2020.3.12f1, 2021.1.0a1, 2021.1.9f1, 2021.1.24f1, 2021.1.28f1, 2021.2.0b14, 2021.2.1f1, 2022.1.0a10, 2022.1.0a14
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
- NullReferenceException error thrown when changing Scenes in Play Mode
- Crash on "'anonymous namespace'::ConvertFBXShapes" when importing an FBX file
- Crash on Transform::RemoveFromParent when Object.DestroyImmediate() is called on Transform
- [Linux] Player consumes more CPU resources when it is running in the background
- Save process is triggered every time when prefab property values are changed by dragging
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a6