Search Issue Tracker

In Progress

Fix In Review for 2021.3.X, 2023.1.X

Fixed in 2022.2.4f1

In Progress in 2020.3.X

Votes

0

Found in

2020.3.41f1

2021.3.13f1

2022.1.23f1

2022.2.0b15

2023.1.0a19

Issue ID

UUM-19833

Regression

No

When raycasting with the "Physics2DRaycaster" function on overlapped UI elements, the selection order is not determined by the order in which they are rendered

--

-

How to reproduce:
1. Open the user attached project
2. Open Scene “SampleScene“ (Assets/Scenes)
3. Enter Play Mode
4. Press a “Blue Button“ GameObject

Expected result: A “Blue Button was clicked“ message appears in the Console
Actual result: A “Green Button was clicked“ message appears in the Console

Reproducible with: 2020.3.41f1, 2021.3.13f1, 2022.1.23f1, 2022.2.0b15, 2023.1.0a19

Reproduced on: macOS (12.5 Intel)

Note: Issue is reproducible in Builds

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.