Unity Issue Tracker - Physics.ComputePenetration detects a collision with CapsuleCollider if MeshCollider Convex is enabled when there is no collision
Fixed
UUM-7391
Physics.ComputePenetration detects a collision with CapsuleCollider if MeshCollider Convex is enabled when there is no collision
Unity: PhysX
Fixed
2023.2.X
2023.2.0a5
Won't Fix
2023.1.X
2022.2.X
2022.1.X
2021.3.X
2020.3.X
2022.1 has reached end of life so the issue will be fixed in a newer version.
How to reproduce:
1. Open project "ComputePenetrationBug.zip"
2. Enter the Play Mode
3. Open Scene window and move "Capsule" GameObject in a Z-axis
4. Observe the DrawLine on "CubeConvexMesh" GameObject when "Capsule" is near
Expected result: DrawLine is drawn when both objects are colliding
Actual result: DrawLine is drawn when objects are not colliding