Search Issue Tracker
Fixed
Fixed in 6000.1.0b14, 6000.2.0a9
Votes
0
Found in
6000.1.0b5
6000.2.0a3
7000.0.0a1
Issue ID
UUM-97041
Regression
No
":focus" style will not be shown when the UI element is unparented and reparented and the "Focus()" method is called without the "Blur()" method being called
How to reproduce:
1. Open the “UiToolkitLayout.zip“ project
2. Open the “SampleScene“
3. Enter Play Mode
4. Press the Space key on the keyboard multiple times
5. Observe the Button in the Game view
Expected result: The button has a red background
Actual result: The button has a gray background
Reproducible in: 2022.3.58f1, 6000.0.37f1, 6000.1.0b5, 6000.2.0a3
Reproduced on: Windows 11 Pro (23H2)
Not reproduced on: No other environment tested
Notes:
- If “Blur()“ method is called before the “Focus()” method, pressing Space will yield expected results
- If the element is not unparented then reparented, pressing Space will yield the expected results
- The element is still considered the “focused“ element, but it’s just not visualized through the “:focus“ style
- Even when clicked manually, the button will not become red
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
- Group Node name text is way smaller in the renaming state than the actual display size
Add comment