Search Issue Tracker
Third Party Issue
Votes
1
Found in
2017.4.0f1
2018.3.0a1
2018.4.4f1
2019.1.0a1
2019.2.0a1
2019.3.0a1
Issue ID
1172187
Regression
No
Physics.ComputePenetration returns false for some collider combinations when collision depth is small
Steps to reproduce:
1. Open project (PhysicsComputePenetration WithMeshRenderer.zip)
2. Open the Main scene
2. Select collider and CapsuleWithMesh object
Expected result: Physics.ComputePenetration returns true on all collisions depth amounts
Actual result: Physics.ComputePenetration returns false on a small amount of collision depth
Reproducible with: 2017.4.31f1, 2018.4.5f1, 2019.1.13f1, 2019.2.0f1, 2019.3.0a11
Not reproducible with: 2020.2.0b1
Note: This happens with Mesh Collider and Capsule Collider combinations
Comments (1)
-
OnikiKay
Jun 21, 2022 23:18
That's not an acceptable resolution. The code have to be reliable in any case and especially when the mesh collider is generated by the Editor.
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
This issue happens to be a rare one that is related to the particular triangulation in this mesh, so we'd suggest re-triangulating it so that it's a more regular one (meaning triangles being of comparable size, avoiding long thin ones as well as very large ones too).