Search Issue Tracker
By Design
Votes
0
Found in
2017.4.0f1
2018.3.0a1
2019.1.0a1
2019.1.8f1
2019.2.0a1
2019.3.0a1
Issue ID
1166310
Regression
No
Button Normal Color does not update when is changed in runtime via script
How to reproduce:
1. Open the attached 'UIcolorBug.zip' project
2. Open 'SampleScene'
3. Enter Play mode
4. Click on the 'Click' button
5. Observe the Inspector
Expected result: Button color is changed
Actual result: The normal color property is changed in the Inspector, but the button stays at the same color
Reproducible: 2017.4.29f1, 2018.4.3f1, 2019.1.8f1, 2019.2.0b8, 2019.3.0a8
Notes:
- Documentation script reference https://docs.unity3d.com/ScriptReference/UI.ColorBlock-normalColor.html
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Character spacing value is not applied when using a specific font asset
- [Android][IL2CPP] Player crashes on __memcpy_aarch64_simd+276 when invoking native code via a plugin on some ARM64 Android devices
- [Android]Resources fail to load when the AAB build contains a large Addressables Bundle
- System.UriFormatException is thrown when building the Localization "Preloading Screen Example" in WebGL
- Unity is loading internal version of SharpZipLib instead of local version
Resolution Note (2019.3.X):
After you click the button the button is in its Selected state. The color represented is proper for the item being selected. Click off of the button and it will go invisible as the Normal color assigned has no alpha. If you set a alpha properly as well you will see that it is red.