Search Issue Tracker
Fixed in 2018.3
Destroying trigger colliders takes longer than without trigger
1. Open the attached project
2. Open scene "scene"
(use the GUI for the steps below)
4. Choose the amount of objects, spawn them and then destroy them
5. Notice the console output
6. Now select the flag "Create triggers?" and repeat step 4
7. Notice the editor freeze and console output
Expected result: Time destroying objects with colliders that are with and without "Is trigger" flag checked should be about the same.
Actual result: Destroying objects with trigger colliders takes significantly more time than destroying objects with simple colliders.
Test results: destroying 4000 trigger colliders takes 2100ms while destroying same amount of simple colliders takes 400ms
Reproduced on: 5.2.4f1, 5.3.3p2, 5.4.0b8
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
- [Build Callbacks] Build is not failing when BuildFailedException is thrown in the PostProcessScene Callback
- [Terrain] The function TerrainData.GetDetailLayer only returns 0 or 1
- [Windows 7] VideoPlayer.Prepare causes a stack overflow crash if Video is loaded from asset bundle
- [WebGL] Mouse input is blocked after a few moves when using Edge browser
- Builds that contain terrain using the Nature/Terrain/Standard shader produce errors when run in headless mode