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
- "Errors during XML parse" warnings are thrown when building project for the Android platform
- Shader transparency, discard, and clip are not working when using the Player
- Error is thrown when clicking on warning in the console
- Long IL2CPP build time when project has a .ufbx library wrapper
- Cursor doesn't change to the resizing when using the Rect Tool and the Sprite is too close to the bottom of the Scene View
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).