Search Issue Tracker
Fixed
Fixed in 2020.3.46f1, 2021.3.19f1, 2022.2.4f1, 2023.1.0a25
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Big chunk of "Untracked" memory in the Memory Profiler screenshot when a custom .obj file is loaded while in Play Mode
- Video contains artifacts when played in the Video Preview section in the Inspector Window
- UI Toolkit Slider "Fill" option doesn't invert when "Inverted" option is selected
- The Random Value option in the Set Attribute Block gets disabled and the "B"/"Max" value lost when upgrading to Unity 6
- Crash in ParallelSortExtensions::ParallelSort
Add comment