Search Issue Tracker

Fixed in 2021.3.32f1

Fixed in 2021.3.X, 2022.3.X, 2023.1.X, 2023.2.X, 2023.2.0b15, 2023.3.X

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

uGUI

-

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