How to reproduce:
1. Create and open a new project
2. Right click in the Project tab and navigate to: Create > UI Toolkit > UI Document, to create a new UXML file
3. Open the new file
4. In the UI Builder, add any two elements to the Hierarchy
5. Select one of the added elements
6. In the Inspector, change the name of the element
7. Click on the other element, in the Hierarchy
8. Observe the Hierarchy
Expected result: The element is renamed
Actual result: The element keeps the old name
Reproducible with: 2022.2.0a12, 2022.3.63f1, 6000.0.0b11
Not reproducible with: 2022.2.0a11, 6000.0.50f1, 6000.1.6f1, 6000.2.0b4
Fixed in: 6000.0.0b12
Reproducible on: Windows 11
Not Reproducible on: No other environments tested
Notes:
- Does not reproduce when renaming in the Hierarchy, instead of the Inspector
- Only reproduces when clicking on any other element, when clicking on the same element that is being renamed, the name will change