Search Issue Tracker
Won't Fix
Won't Fix in 2023.2.X
Votes
0
Found in
2022.2.2f1
2023.1.0b6
2023.2.0a7
Issue ID
UUM-29102
Regression
No
UI Document: Component titles should be listed with spaces
Repo steps:
- Open Unity Scene
- In Hierarchy > Right click > Hover on "UI Toolkit" > Click "UI Document"
- The component "UIDocument" should appear in the hierarchy
- Observe the component name, it should look like this "UIDocument"
Expected Result: Component names should be displayed in the same way in all locations. For example "UI Document"
Actual Result: Component names aren't displayed in the same way in all locations. For example "UIDocument"
Reproducible with: 2021.3.20f1, 2022.2.9f1, 2023.1.0b7, 2023.2.0a5.
Not reproducible with: 2020.3.46f1 (such functionality does not exist).
Platforms tested: Win 11, MacOS Monterey, Version 12.6.2
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
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
Resolution Note:
What is highlighted in the screenshot is not a component title - it's the GameObject name. The name is derived from the type name of the Component, which does not have spaces. The only reason the menu item and the Inspector header has spaces is because of extra logic there to parse the type name and add the spaces. This is not a bug specific to UI. It's just how the auto-name generation of GameObjects works.
Resolution Note (2023.2.X):
What is highlighted in the screenshot is not a component title - it's the GameObject name. The name is derived from the type name of the Component, which does not have spaces. The only reason the menu item and the Inspector header has spaces is because of extra logic there to parse the type name and add the spaces. This is not a bug specific to UI. It's just how the auto-name generation of GameObjects works.