Search Issue Tracker

Fixed in 2021.1.X

Fixed in 2020.3.X

Votes

0

Found in

2019.4

2020.3

2020.3.4f1

2021.1

Issue ID

1329405

Regression

No

Label set with EditorGUILayout.PropertyField is overwritten when adding Range attribute to the field

IMGUI

-

How to reproduce:
1. Open the user's attached "PropertyField_Label_Repro.zip" project
2. Open the "SampleScene" Scene
3. In the Hierarchy select the "TestGO" GameObject
4. Observe the Inspector

Expected results: The "Test Script" field names are "plain_foo" and "ranged_bar"
Actual results: The "Test Script" field names are "plain_foo" and "RangedValue"

Reproducible with: 2019.4.23f1, 2020.3.4f1, 2021.1.0a2
Not reproducible with: 2021.1.0a3, 2021.1.5f1, 2021.2.0a14
Could not test with: 2018.4.33f1 (downgraded scripts have errors)

  1. Resolution Note (fix version 2021.1):

    Fixed in 2021.1.0a3

  2. Resolution Note (fix version 2020.3):

    Fixed in 2020.3.10f1

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.