Search Issue Tracker
Won't Fix
Votes
0
Found in
2022.1.13f1
2022.2.0b4
2023.1.0a6
2023.2.0a1
Issue ID
UUM-11809
Regression
No
TextField using USS style becomes broken when no DisplayStyle.* is called
How to reproduce:
1. Open the attached "1410902.zip" project
2. Open the "AI Designer" window (AI Designer -> Tree Editor)
3. Add a new Variable to the Variables list
4. Double-click on the name of the Variable to modify it
Expected result: The name of the Variable gets focused/selected
Actual result: The name of the Variable doesn't get focused/selected
Reproducible with: 2022.1.13f1, 2022.2.0b4, 2023.1.0a6
Couldn't test with: 2020.3.38f1, 2021.3.8f1 - Deprecation causes errors preventing reproduction (Package scripts do not work)
Reproduced on: macOS Monterey 12.0.1
Note:
- Package is used to show the issue visually that is happening in the Script
- Uncommenting lines 125-126 and 134-135, shows the expected result
- Different versions cause different issues:
- 2022.2.0b4, 2023.1.0a6: Once focused it becomes hard to break said focus of the TextField
- 2022.1.13f1: Once focused and attempting to un-focus, doesn't convert back from TextField to Label
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
- Exceedingly long wait when importing large audio file
- TextMeshPro text input's caret is flickering when Line Mode is set to Multi Line and text is selected
- Can’t delete gradient keys with Mac keyboard or context menu options
- Editor freezes for a few minutes when closing or switching a VFX window that was opened in a previous project
- UI Overlaps when switching Render Pipeline Asset for different Quality Levels in Quality Project Settings
Resolution Note:
Currently this is expected behaviour, that is you cannot focus an element that is currently display:none". Using USS, switching back to visible is asynchronous and happens after the request to focus. It is required to have to employ inline styles or alternatively asynchronously make the Focus() call