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.
Comments (2)
-
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
- Spring Joint shows only one anchor gizmo in Scene view when "Auto Configure Connected Anchor" is enabled
- Crash on _platform_memmove after entering large value in Graphics settings Preloaded Shaders field
- Disproportionally large impact on CPU frame time when writing to a rendering entity's LocalToWorld
- "Constant Force" Component numeric fields drift out of view while entering a really big value in the Inspector
- Scene view camera speed pop-up appears empty or cut off when Scene view is very narrow
This is a duplicate of issue #1143135