Search Issue Tracker
Fixed in 2019.1.5f1
Fixed in 2019.1.X, 2019.2.X
Votes
0
Found in
2019.1.0a5
2019.1.0b8
Issue ID
1143135
Regression
Yes
Image Color cannot be changed via script when Image type is set to Simple
To reproduce:
1. Open attached project "alphaspritebug.zip", scene "AlphaTest"
2. Enter Play mode
3. Click on the numbered buttons
4. Observe the bottom row of pictures (upper row is correct result)
Expected: Image alpha is changed via script
Actual: alpha is not changed if Image type is set to Simple
Reproduced in: 2019.1.0a5, 2019.1.0f1, 2019.2.0a11
Not reproduced in: 2017.4.25f1, 2018.3.12f1, 2019.1.0a4
Note: other image types do not reproduce the issue
-
fhecorrea
Oct 08, 2020 17:23
It's not fixed in 2019.4.4f1 version. |-(
-
VINNUSAURUS
Aug 23, 2020 07:45
version 2019.4.8f1 have this problem, text is not updating when changed from code, but if i change it in inspector it is updating.
-
msomele
Aug 18, 2020 23:01
In 2020.1.0f1 again not fixed
-
JPBA1984
Aug 02, 2020 00:59
not working on 2019.4.1f1, i have a UI slider, the fill object has an image, trying to change its .color property, nothing happens.
-
ThorBrigsted
Jun 18, 2020 21:26
Still not fixed in 2019.4.0f1
-
n30b4rt
May 07, 2020 07:55
Whoops wasn't aware that the color values were between 0 and 1 not 0 and 255
-
n30b4rt
May 07, 2020 07:38
Are you serious. I'm now on 2019.3.13f1 and this is an issue for me.
-
Jupton
Jan 24, 2020 20:26
I have this issue on 2019.2.19f. Same as HEXADIMENSIONALERALP said below, the color wheel shows correctly but image is white.
-
HexadimensionalerAlp
Dec 30, 2019 23:49
I'm using 2019.3.0f3 and it still happens on image type sliced or simple, but only sometimes. When opening the color-wheel it shows the pointer on the position of the rgba I assigned via script, but does not apply the change to the image.
-
hinerz
Oct 26, 2019 17:40
I upgraded to Unity 2.1.0f1 and I'm continuing to have the same issue (no change of source image or material, just setting color.
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
- Packman: The same asset data is displayed differently in "Import" and "Remove" popups
- Reference to a deleted GameObject becomes "None" instead of "Missing" when the GameObject is restored with undo after entering and exiting Play Mode
- Size value in Particle System Curve's tab is highlighted with selection across all tab header
- Particle System Curve's Presets window has no visual indication of what preset is selected
- Blur shader doesn't work when the "Scene Color" Node is attached to the UI "Output" Node
Resolution Note (fix version 2019.1.5f1):
Fixed in: 2019.3.0a4, 2019.2.0b4, 2019.1.5f1