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