Search Issue Tracker
Fixed in 2022.2.X
Duplicate in 2021.3.X, 2022.1.X
Votes
1
Found in
2020.1.0a9
2020.3
2021.1
2021.2
2021.2.0f1
2022.1
2022.2.0a4
Issue ID
1377544
Regression
Yes
When clicking on overlapped UI elements the Selection order is determined not by the order in which they are rendered
How to reproduce:
1. Open the attached project "case_1377544.zip"
2. Enter Scene "SampleScene" (Assets > Scene)
3. Open the Scene view
4. Enable the "2D Mode"
5. In Hierarchy window double click GameObject "Canvas"
6. In the Scene view click on a point in the red square that overlaps with all the squares under and observe the selected GameObject in the Hierarchy
7. Repeat 6th step 11 times
Expected result: The GameObject selection cycles from the top rendered element to the bottom rendered element
Actual result: The GameObject selection is determined by some other factor
Reproducible with: 2020.1.0a9, 2020.3.23f1, 2021.1.28f1, 2021.2.3f1, 2022.1.0a15, 2022.2.0a4, 2022.2.0a12
Not reproducible with: 2019.4.32f1 2020.1.0a8, 2022.2.0a3
Note:
- In 2021.2.0a19 and above the issue only reproduces for the first cycle of clicking through all the UI elements
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a15