Search Issue Tracker
Fixed in 6000.0.49f1
Fixed in 6000.0.X, 6000.1.X, 6000.2.X, future release
Votes
1
Found in
2022.3.28f1
6000.0.1f1
6000.1.0a7
6000.2.0a1
Issue ID
UUM-71782
Regression
No
Matching Selectors list not updating correctly with element's pseudo-state updates
Reproduction steps:
1. Open the attached “Repro“ project
2. Open the “Assets/Scenes/SampleScene.unity“ Scene
3. Enter the Play Mode
4. Open the UI Toolkit Debugger window (Window > UI Toolkit > Debugger)
5. Select “Pick Element“ in the top bar of the Debugger window
6. Press on the button in the Game View
7. Expand the Matching Selectors in the Debugger window
8. Hover over the button in the Game View and observe the “Matching Selectors“ list
Expected result: “.unity-button:hover” is present
Actual result: “.unity-button:hover” is missing even though all the other fields represent the pseudo-state change
Reproducible with: 2021.3.38f1, 2022.3.28f1, 6000.0.1f1
Reproducible on: M1 MacOS 14.4.1
Not reproducible on: No other environment tested
Note: Pausing the Game View via shortcut while hovering over the button and then selecting it in its “hover” pseudo-state produces the expected behaviour with the “.unity-button:hover“ is present
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Help button leads to a missing documentation page when clicked on a TMP_Font Asset in the Inspector
- Background Image type reverts to Texture when changed and the VisualElement is reselected in UI Builder
- "Do not use ReadObjectThreaded on scene objects!" repeatedly printed to the Editor log when attempting to open a specific project
- “Multiple instances of EditorPlayModeGuard detected. There should only be one instance.” error is thrown when deleting a default Play Mode Scenario and selecting another one as the default
- Errors are thrown when an empty texture is selected in Object Picker on DX12
Add comment