Search Issue Tracker
Fixed in 2023.2.10f1
Fixed in 2023.2.X, 2023.3.X, 2023.3.0b5
Votes
0
Found in
2021.3.27f1
2022.3.1f1
2023.1.0b20
2023.2.0a17
2023.3.0a1
Issue ID
UUM-39907
Regression
No
Element's namespace is changed when saving the changes through UI Builder
Reproduction steps:
1. Open the attached “Test Project” project
2. Open “Scripts/UI/Resources/UXML1” Asset
3. Add ‘xmlns:uic=”UI.Controls”’ namespace in line 1
4. Add “<uic:CustomControl />” Element below line 5
5. Open Window > UI Toolkit > UI Builder window
6. Select “Assets/Scripts/UI/Resources/UXML1.uxml” file the “Library” tab
7. Move any element in the “Hierarchy” tab and save the changes
8. Open “Scripts/UI/Resources/UXML1” Asset
9. Observe the Element’s (added in step 4) tag
Expected result: The tag stays the same “uic:CustomControl”
Actual result: The tag changes to “UI.Controls.CustomControl”
Reproducible with: 2023.2.0a17
Couldn’t test with: 2021.3.26f1, 2022.3.0f1, 2023.1.0b19 - No support for “UxmlAttributeAttribute” and “UxmlElementAttribute”
Reproducible on: Windows 10
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on BitmapDataToImageReference when opening a project with a specific video file
- [LinuxEditor] "Create New Tile Palette" popup closes immediately when opened from the Tile Palette window
- Crash on MemoryManager::OutOfMemoryError when performing various Unity operations
- The "Use AI Assistant" checkbox is always either checked or unchecked regardless of the state that it was in during the previous Unity project creation when creating a new Unity project
- UI Builder Inspector fails to stylize attribute display name when the attribute is defined via UxmlObjectReference
Add comment