Search Issue Tracker

By Design

Votes

0

Found in

2018.3.0a6

2018.4.0f1

2019.1.0a1

2019.2.0a1

2019.3.0a1

Issue ID

1165556

Regression

No

[Editor] EditorGuiLayout.Colorfield doesn't update using colour picker wheel

Scripting

-

To reproduce:
1. Open attached project "1165556.zip"
2. Press Window > ObjectMaster
3. In the ObjectMaster window press "Add new layout"
4. Press "Add to current layout"
5. Open the colour selector wheel, not the eye drop
6. Try to change the colour

Expected result: UI button colour changes to the selected colour
Actual result: UI button colour changes only when dragging to max horizontal or min vertical values

Reproduced on:
2018.3.0a6 2018.4.3f1 2019.1.9f1 2019.2.0b8 2019.3.0a8

Workaround:
- Pressing the eyedropper and selecting any colour fixes the issue. Colour picker updates to any colour dragging in the colour picker.
- Also, the user has provided a workaround, uncomment ObjectMaster.cs 349 - 354 lines and comment 354 line

Notes:
- Getting a lot of errors in 2017.4.0f1 - 2018.3.0a5, unable to test it.

  1. Resolution Note (2019.3.X):

    The Color object only support values between 0-1. Users should convert their values, or use Color32.

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.