Search Issue Tracker
Won't Fix
Won't Fix in 2023.1.X
Votes
0
Found in
2022.2.2f1
2023.1.0a20
2023.1.0a26
2023.1.0b6
Issue ID
UUM-29169
Regression
No
Event System: Component titles should be listed with spaces
Repo steps:
- Open Unity Scene
- In Hierarchy > Right click > Hover on "UI" > Click "Event System"
- The component "EventSystem" should appear in the hierarchy
- Observe the component name, it should look like this "EventSystem"
Expected Result: Component names should be displayed in the same way in all locations. For example "Event System"
Actual Result: Component names aren't displayed in the same way in all locations. For example "EventSystem"
Note: [https://docs.unity3d.com/ScriptReference/ObjectNames.NicifyVariableName.html]
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
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
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
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.1.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.