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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment