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
- Build fails when building with ILCPP Scripting Backend and ARMv7 as the Target Architecture
- Textures turn black in Player when they are referenced by a script instance
- [Android] Virtual device crashes with "Scudo ERROR: invalid chunk state when deallocating address" error in Firebase Test Lab when Optimized Frame Pacing is enabled
- Particle System does not resume when its Culling Mode is set to "Pause" or "Pause and Catch-up," and particle position simulate in world space
- "Custom Render Queue" field cannot be set above "2000" when changing it in the Inspector window using Debug mode
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a15