Steps to reproduce:
1. Create a new project
2. Create UI Document (Create > UI > UI Document)
3. Double-click on the newly created UI Document to open UI Builder window
4. Drag Visual Element into Hierarchy section twice
5. Click on one of the Visual Elements and rename it in the Inspector section
6. Click on the another Visual Element and observe the name of the first Visual Element in the Hierarchy
Actual results: Visual Element does not get renamed
Expected results: Visual Element name changes into a new one
Reproducible with versions: 2022.3.63f1, 6000.2.0b1, 6000.2.0b5
Not reproducible with versions: 2021.3.52f1, 6000.0.51f1, 6000.1.7f1, 6000.2.0a10
Tested on (OS): macOS Sequoia 15.4 (M4)
Notes:
- Issue is not reproducible when renaming second Visual Element
- Third visual element cannot be viewed on Inspector when pressed on it, only second Visual Element is visible, clicking on the second Visual Element and clicking on the third Visual Element again makes issue not reproducible
- Renaming Visual Element with right-click > Rename does not reproduce the issue