Search Issue Tracker

Fixed

Fixed in 6000.0.9f1, future release

Votes

0

Found in

2023.2.4f1

2023.3.0b1

6000.0.37f1

6000.1.0a7

7000.0.0a1

Issue ID

UUM-59578

Regression

No

Physics2D.IgnoreCollision does not ignore collision when using Rigidbody2D.Slide to move

-

Reproduction steps:
1. Open the attached "SlideVSIgnoreCollision.zip" project
2. Open the "SampleScene"
3. Enter the Play mode
4. Press the "down" button to descend the Player GameObject
5. Press the "left" button to move the Player GameObject

Expected result: The Player GameObject moves left and ignores collision with the Platform
Actual result: The Player GameObject can’t move left due to collision not being ignored

Reproducible with: 2023.2.4f1, 2023.3.0b1
Couldn't test with: 2021.3.33f1, 2022.3.16f1 (Rigidbody2D.Slide functionality was released in 2023.1)

Reproducible on: Windows 10, Windows 11
Not reproducible on: no other environment tested

Notes:
- The expected result can be seen when you enter the Play mode and firstly move left and only then press the “down” button, but once you move away from the Platform and try to move past it, the issue persists

  1. Resolution Note (fix version 6000.0.9f1):

    Fix for this issue is available on Unity 6000.0.9f1 and above

Add comment

Log in to post comment

All about bugs

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