Search Issue Tracker
Fixed
Votes
1
Found in [Package]
1.0.0-preview.14
Issue ID
1314140
Regression
No
[UI Toolkit] Click event passes through overlapping UIDocument's VisualElement
How to reproduce it:
1. Open the user's attached project ("UIToolkit.zip")
2. Load the "SampleScene" scene
3. Enter the Play Mode
4. In the Game view click on the button and notice that it was clicked
5. Click on the top-left brown square and notice that the button wasn't clicked
6. Click on the red overlay that is over the button
7. Observe the button
Expected result: The VisualElement doesn't pass a click event, and the button is not clicked
Actual result: The VisualElement passes a click event, and the button is clicked
Reproducible with: 1.0.0-preview.14 (2020.2.5f1, 2021.1.0b7)
Could not test with: 2018.4.32f1, 2019.4.20f1 (UI Toolkit is not introduced yet), 2021.2.0a5 (due to UI Toolkit's errors)
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
- Crash on PrepareDrawShadowsCommandStep1 when entering the Play Mode in a specific project
- Physics Layer Collision Matrix's Layer names, checkboxes and hover highlights become misaligned when the Editor's UI Scaling gets changed
- Light/shadow information on an edge of a Terrain tile creates a seam with an adjacent Terrain tile when baking a LightMap
- "Missing types referenced from component UniversalRenderPipelineGlobalSettings on game object UniversalRenderPipelineGlobalSettings..." warning is thrown after switching the Platform to tvOS
- “Metal: Error creating pipeline state (Universal Render Pipeline/2D/Sprite-Lit-Default): Vertex attribute BLENDINDICES0(5) of type uint4 cannot be read using MTLAttributeFormatFloat2 (null)“ when setting GPU Skinning to GPU after opening the project
Resolution Note:
Fixed in 2021.2.0a11