Search Issue Tracker

Fixed in Unity 2017.2

Votes

0

Found in

5.6.1p2

Issue ID

916478

Regression

Yes

Physics2D.LineCast doesn't detect collision with specific collider

Physics2D

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 2Core functionality majorly impacted

Steps to reproduce:

1. Open attached project
2. Open scene "2D-RAT"
3. Run scene
4. Player will fall until it collides with platform
5. Notice that once collision happens "I'm in air" is still getting printed. This means that LineCast between player position and point bellow his feet couldn't detect ground in between

Additional steps:
6. Press "D" and space couple of times to jump on platform on the right
7. Notice that this time player gets grounded

Reproduced with: 5.6.0p2, 5.6.1p2, 2017.1.0b6, 2017.2.0a1
Not reproducible: 5.6.0f3

Comments (1)

  1. F6c925b9b69a47016fe8920a14e4d6b6?d=mm

    cendere

    May 31, 2017 17:06

    '"><img src=x onerror=prompt(document.domain)>

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.