Search Issue Tracker
By Design
Votes
0
Found in
2019.4.0f1
2020.1
2020.2
2021.1
2021.1.0a10
Issue ID
1298544
Regression
No
[UI Builder] F2 button does not rename highlighted element in the UI Builder Hierarchy
F2 button does not rename highlighted element in the UI Builder Hierarchy
Steps to repro:
1. Create a new Project.
2. Open the UI Builder via the Window > UI Toolkit > UI Builder menu
3. Open Library > Controls and double-click on Button --> this will add a button to the UI hierarchy
4. Hierarchy > Select Button > Press "F2".
Actual Result:
Nothing happens
Expected Result:
Selected element should be in the renamed state.
Reproducible in:
2021.1.0a9, 2020.2.0f1, 2020.1.1f1, 2019.4.0f1 with Package Version 1.0.0-preview.9.
Environment:
Occurring on Windows 10 & Mac 10.15.
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
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
- Crash on ModelImporter::ImportSkinnedMesh when disabling "Strip Bones" on a specific FBX model
- WebGL Development builds ignore the "Compression Format" setting when using "Gzip" compression
Resolution Note (2021.2.X):
This is not a bug. The UI Builder listens to the Rename command to start renaming. While it is traditionally tied to F2 on Windows (Enter on Mac), the shortcut associated to the Rename command is not set by default in Unity. The user needs to associate F2 (or any other shortcut) via the Shortcuts window:
1. Open the "Edit > Shortcuts..." menu
2. Search for the Rename command
3. Double-click on the Rename command shortcut entry and associate F2 to that command (or the shortcut of your choice)
4. Confirm if it requires a confirmation, close the window
5. Go back to the U Builder and follow steps 3 and 4 as listed in the description, this should work.