Search Issue Tracker

Fixed in 2019.1.5f1

Fixed in 2019.1.X, 2019.2.X



Found in



Issue ID




Image Color cannot be changed via script when Image type is set to Simple



To reproduce:
1. Open attached project "", 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

  1. Resolution Note (fix version 2019.1.5f1):

    Fixed in: 2019.3.0a4, 2019.2.0b4, 2019.1.5f1

Comments (47)

  1. fhecorrea

    Oct 08, 2020 17:23

    It's not fixed in 2019.4.4f1 version. |-(


    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.

  3. msomele

    Aug 18, 2020 23:01

    In 2020.1.0f1 again not fixed

  4. 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.

  5. ThorBrigsted

    Jun 18, 2020 21:26

    Still not fixed in 2019.4.0f1

  6. n30b4rt

    May 07, 2020 07:55

    Whoops wasn't aware that the color values were between 0 and 1 not 0 and 255

  7. n30b4rt

    May 07, 2020 07:38

    Are you serious. I'm now on 2019.3.13f1 and this is an issue for me.

  8. 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.

  9. 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.

  10. 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

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.