Search Issue Tracker
Duplicate
Votes
0
Found in
2022.1.0b4
Issue ID
1397406
Regression
No
[UI Toolkit] Hover style doesn't work in non-maximised play mode
Steps to reproduce:
1. Open attached project (test-uitoolkit.zip)
2. Open 'SampleScene'
3. Make sure Game View is set to be entered 'Normally' (not Maximised)
4. Enter Play Mode
5. Hover over the buttons with your cursor
Expected behaviour: The background color of the buttons should change to red as the cursor is hovered over them (that's how the button-style:hover style is set up)
Actual behaviour: Buttons don't change the background color as the cursor is hovering over them
Notes:
Doesn't reproduce if you enter the Play Mode with Game View maximised.
Works fine in UI Builder Preview mode.
Works fine in builds (tested macOS standalone and WebGL).
Reproduced with: 2022.1.0b4
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
- TreeView Child display toggle styling becomes reversed when clicking and dragging it
- Null is returned when using FocusOutEvent.relatedTarget
- Unity_BaseInstanceID is always zero when rendering multiple meshes and instancing with the same buffer
- UI Document button's text does not resize relatively when size in percentage (%) is used
- Event.current.mousePosition has an offset of 1px along the y-axis in WebGL build when the mouse button is released
This is a duplicate of issue #1393890