Search Issue Tracker
Duplicate
Votes
6
Found in
2019.4.29f1
2020.3.13f1
2021.1.10f1
2021.2.0a18
2022.1
Issue ID
1357913
Regression
Yes
CPU lag spike when using Component.GetComponentsForListInternal()
How to reproduce:
1. Open the user's attached project
2. Open scene Assets/Test
3. Open the Game view and press the Play button
4. In the top left corner of the Game view, click the "Reparent" button
5. Observe the Console
Expected result: reparenting takes from 0.2 to 0.35 seconds to process
Actual result: lag spike lasts from 1 to 1.8 seconds, three to six times longer than non-regressed versions
Reproducible with: 2019.4.29f1, 2020.3.13f1, 2020.3.16f1, 2021.1.10f1, 2021.1.17f1, 2021.2.0a18, 2021.2.0b7, 2022.1.0a5
Not reproducible with: 2019.4.28f1, 2020.3.12f1, 2021.1.9f1, 2021.2.0a17
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
- [Backport] [WIN 8 KN/N]VideoPlayer inadequate error reporting on errorReceived callback when Media Player is not present
- [Backport] Gradient mode getter/setter does not have thread-safe access preventing proper serialization/deserialization
- [Backport] A false pop-up appears when modifying a script and having Recompile After Finished Playing set
- Crash when replacing a missing Script in a Prefab with another invalid Script
- [Backport] [WebGL] Profiler does not autoconnect on WebGL builds
This is a duplicate of issue #1348763