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
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
Add comment