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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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.