Search Issue Tracker

By Design

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

  1. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.