Search Issue Tracker
Fixed
Fixed in 2022.3.23f1
Votes
1
Found in
2022.3.21f1
Issue ID
UUM-66029
Regression
Yes
GameObject deletion times are 5 times longer when deleting them from a script using the Destroy method
How to reproduce:
1. Open the “BugTest1.zip“ project
2. Open the “TestScene”
3. Select the “Control“ GameObject
4. Click the “Create Objects“ Button
5. Observe the Console
6. Click the “Delete Objects“ Button
7. Observe the Console
Expected results: Deletion time is roughly the same as creation time
Actual results: Deletion time is more than 5 times longer than creation time
Reproducible in: 2022.3.21f1
Not reproducible in: 2021.3.36f1, 2022.3.20f1, 2023.2.14f1, 2023.3.0b10
Reproduced on: Windows 11 Pro (23H2)
Not reproduced on: No other environment tested
Notes:
- Based on the computer performance, the number of GameObjects can be adjusted (initially number is set at 4900 objects in a 70x70 grid)
- The higher the number of created GameObjects, the greater the deletion time relative to creation time is going to be
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
- "Objects are trying to be loaded during a domain backup." errors on entering Playmode
- Transform Node does not have outputs when it is created
- Changing the Default Icon does not change the executable's icon when re-building the project
- Texture is stored upside down when using Blit
- [OpenGLES][XR] Zooming in on the camera's URP opaque texture causes "double vision" on Quest in OpenGLES3
KimmoFactor
Mar 07, 2024 15:19
I just wanted to add that the topic makes it sound like it's a small issue. The regression in itself is massive going from .20 to .21 and is currently preventing me updating until this is fixed.