Search Issue Tracker

Fixed

Fixed in 2021.3.32f1, 2022.3.12f1, 2023.1.17f1, 2023.2.0b15, 2023.3.0a10

Votes

0

Found in

2021.3.29f1

2022.3.7f1

2023.1.8f1

2023.2.0b4

Issue ID

UUM-45893

Regression

Yes

Physics2DRaycaster returns incorrect distance when using Sorting Groups

--

-

Reproduction steps:
1. Open the attached project "Physics2DRaycasterSortingGroupBug"
2. Open the "NewBugs" scene
3. Enter Play mode
4. Click the bottom two buttons in the blue area

Expected result: "BlueButton was clicked!" is logged in the Console twice
Actual result: "GreenButton was clicked!" is logged in the Console when clicking the left button (or both in 2021.3.29f1)

Reproducible with: 2021.3.29f1, 2022.3.7f1, 2023.1.0a25, 2023.1.8f1, 2023.2.0b4
Not reproducible with: 2023.1.0a24

Reproducible on: macOS 13.4.1 (Intel), Windows 11 (user’s)
Not reproducible on: No other environment tested

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.