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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment