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
- Unity crashes during the scene template selection in the "Inspector" tab
- [Android] [iOS] [UnityWebRequest] Requests with "UnityWebRequest" are open for SSL Proxying
- SetWindowsHookEx does not prevent Windows key input when Editor or Player Window is focused and Active Input Handling is set to “Input System Package (New)” or “Both”
- Crash on GetEffectiveBc7TextureCompressor() when loading and unloading all Assets in the Project
- Terrain Masks do not ignore the mipmap limit
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).