Search Issue Tracker
Won't Fix
Votes
2
Found in
2017.4.0f1
2018.3.0a1
2018.3.8f1
2019.1.0a1
2019.2.0a1
Issue ID
1143386
Regression
No
CapsuleCastAll doesn't hit the Mesh Collider it starts in if the Mesh Collider is Non-Convex
How to reproduce:
1. Open submitted project (CapsuleCast)
2. Enter Play Mode and see the Console window
Expected result: Cast (before move) returns 1
Actual result: Cast (before move) returns 0
Reproducible with: 2017.4.25f1, 2018.3.12f1, 2019.1.0f1, 2019.2.0a11
Notes:
Works as expected when Plane Mesh Collider is Convex
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:
The issue arises from a very small imprecision when calculating the dot product between the capsule and the Mesh's triangle that should be hit. This causes the triangle to be treated as a backface.
Workarounds:
- Turn on the "Queries Hit Backfaces" option in the Physics settings
- Set the plane's world Y coordinate to a non-zero number