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
- [Android][Vulkan] Crash on /system/lib/libandroid.so (ANativeWindow_setBuffersGeometry+4) when the Vulkan Graphics API is used
- Event handlers are preventing operations when trying to copy or paste HTML text in the WebGL Player
- [macOS] Crash on __pthread_kill when Exporting a Package while another export is in progress
- Crash on TransformAccessDestroyCallback when removing a URP Decal Projector component from a parent GameObject that had a URP Decal Projector child GameObject
- An added component is being removed form the prefab when reimporting the prefab
Add comment