Search Issue Tracker
Duplicate
Votes
8
Found in
2019.1.0a5
2019.1.0f2
2019.2.0a1
2019.3.0a1
Issue ID
1149312
Regression
Yes
UI Image Color property is ignored when already assigned Source Image property is changed via script
How to reproduce:
1. Open the attached "BugReport.zip" Unity project
2. Press "Play" and observe the three "Icon" GameObjects
Expected result: the colors of the Image Components of GameObjects marked "2" and "3" change over time similarly to the GameObject marked "1"
Actual result: the colors of GameObjects marked "2" and "3" do not change; the added Outline Component in the GameObject marked "3" cuts the image in half
Reproducible with: 2019.1.2f1, 2019.2.0a14, 2019.3.0a1
Not reproducible with: 2017.4.26f1, 2018.4.0f1, 2019.1.0a4
Note: the bug is reproducible when the Image Type property of the Image Component is set to "Simple" and the Source Image property is not null. The issue is reproducible since version 2019.1.0a5.
-
Precache
May 03, 2019 08:37
I might be biased because I'm affected, but I'd say the severity of this really ought to be 2. There's no workaround, and displaying images via script is fundamentally necessary.
-
AdamLiu
May 02, 2019 01:14
I encountered exactly the same issue, and this issue basically breaks my game. Hope they fix this soon.
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
- Prefab overrides don't recover missing managed references
- Trail Renderer visual doesn't match the positions of vertices when they have been offset
- [Mobile] The Material is not visible when using the Decal Renderer Feature
- Uncaught TypeError: Cannot read properties of undefined is thrown when the tab is inactive for several minutes
- Crash on mono_array_length when building a project
This is a duplicate of issue #1143135