Search Issue Tracker
Not Reproducible
Votes
0
Found in
5.5.0f3
Issue ID
868844
Regression
Yes
Crash in physx::PxsBroadPhaseContextSap::batchUpdate when Destroy(col.gameObject) is called in OnTriggerExit function
To reproduce:
1. Download attached project and open it;
2. Choose scene 01_Doolittle;
3. Enter Play mode;
4. Unity will freeze and crash in 10 seconds;
Expected result: Triggered gameObjects are destroyed and game doesn't crash.
Actual result: Game crashes before triggered gameObjects are destroyed.
Reproduced in : 5.5.0f3; 5.6.0b3; 5.5.0p4;
Not reproduced in: 5.6.0a1;
.
Workaround: In ShredderBoundingBox inspector window uncheck "Is Trigger", enter play mode and game doesn't crash. Also if you delete one of Destroy(col.gameObject); and in the another one delete col. game doesn't crash as well.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
Add comment