Search Issue Tracker
By Design
Votes
0
Found in
5.1.0a2
Issue ID
677622
Regression
No
Changes to ColorUsageAttribute are not immediately reflected in Color Picker
- Put these lines into a script:
[ColorUsageAttribute(true, true, -5, 5, -5, 5)]
public Color myColor;
- Attach the script to game object and click on the Color in the Inspector to open the Color Picker Window - Color Picker will be set for HDR and will have the alpha transparency slider as expected
- Change the ColorUsageAttribute in the script to [ColorUsageAttribute(false, true, -5, 5, -5, 5)]
- Go back to the Editor and click the Color field again to open the Color Picker (notice the alpha slider is still there even if it was set to false in the script)
- If wait long enough or you close the Color Picker window and open it again, the alpha slider will eventually be gone, but seems like whatever reloading is happening in the Editor takes a bit too long
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Add comment