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
-
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
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).