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
- UI Overlay Image gets darker on each Camera when multiple Cameras are used
- Assertion failed on expression: 'scriptedImporterClass == SCRIPTING_NULL error when opening the standalone profiler window
- Disabled assets in Import Unity Package window aren't tracked but count as being selected by user
- [Windows] Crash on GetManagerFromContext when video is playing and creating High Definition 3D Projects after FMOD failed to switch back to normal output Error appeared
- GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding
This is a duplicate of issue #1143135