Search Issue Tracker
By Design
By Design in 2023.1.X
Votes
1
Found in
2020.3.36f1
2021.3.5f1
2022.1.7f1
2022.2.0a18
2023.1.0a2
Issue ID
UUM-11449
Regression
No
The header is shown multiple times when variables are separated by a comma
Reproduction steps:
- Open the attached project (“header.zip“)
- Select scene “SampleScene”
- Select GameObject called “Main Camera”
- In the inspector select “New Behaviour Script” component
- Observe displayed headers
Expected result: Only one header is displayed
Actual result: Two same headers are displayed
Reproducible with: 2020.3.36f1, 2021.3.5f1 ,2022.1.7f1 ,2022.2.0a18, 2023.1.0a2
Reproducible on: Windows 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
- Font character thickness does not adjust properly in UI Toolkit text when changing Bold Weight in Font Asset
- Multiple "[...] is inaccessible due to its protection level" errors are thrown when opening project with Unity Version Control installed
- Sorting icons are tiny and misaligned in Import Activity window
- The Undo system does not record HideFlags.HideInHierarchy changes
- [Linux] Bug Reporter window is in Light mode when the Editor theme is Dark mode
Resolution Note:
When an attribute is used over multiple variables declared at the same time, each variable is assigned this attribute (this is basically C# normal behavior). When drawing the header we cannot know the variables were define at the same time.
Resolution Note (2023.1.X):
When an attribute is used over multiple variables declared at the same time, each variable is assigned this attribute (this is basically C# normal behavior). When drawing the header we cannot know the variables were define at the same time.