Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2019.2.X, 2019.3.X
Votes
0
Found in
2017.4
2018.4
2019.2
2019.2.5f1
2019.3
2020.1
Issue ID
1190905
Regression
No
Physics2D.BoxCast doesn't detect the "Edge Collider 2D" when hitting the Collider's corner
How to reproduce:
1. Open the attached project's ("case_1190905-Project.zip") Scene labeled "IssueScene"
2. Enter the Play Mode
3. Press the Right Arrow key on the keyboard a few times
4. Observe the Game View
Expected result: there's a collision point shown on the corner of the Edge Collider
Actual result: the corner of the Edge Collider is ignored and the cube passes it
Reproduced in: 2017.4.33f1, 2018.4.11f1, 2019.2.10f1, 2019.3.0b7, 2020.1.0a9
Note: there's no issue when the corners of the Collider and the Raycast is not at the same height
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Long Prefab save times when using Unity 2022.2 and higher
- Console displays error "UnityException: Creating asset at path Assets/Scenes/ .scenetemplate failed." during scene template saving
- "Development Build" watermark is shown in non-development UWP release builds
- Console errors appear when the Inspector is set to Debug and a GameObject is selected
- A script public variable value is not used when set in the Inspector window
Add comment