Search Unity

Bug: After becoming zero, Filled Image will never appear ever again.

Discussion in 'UGUI & TextMesh Pro' started by JasonB, Aug 23, 2014.

  1. JasonB

    JasonB

    Joined:
    Dec 29, 2010
    Posts:
    102
    I created a filled image effect to show a skill cooldown on a button. Through scripting I drop the Fill Amount to zero over time, upon which the button reactivates. As long as I start the Fill Amount at 1, this all works.

    When clicking the button, I set the Fill Amount back to 1 to re-enable the button and allow the process to start over.

    Everything works perfectly except for the fact that if Fill Amount ever becomes zero, making it non-zero will never make the filled image appear again. It just vanishes permanently. Setting Fill Amount to zero seems to do put a permanent kill on rendering the Image. Setting it back to 1 will not make it appear again. Nothing will, as far as I can tell.
     
  2. Tim-C

    Tim-C

    Unity Technologies

    Joined:
    Feb 6, 2010
    Posts:
    2,225
    Hi, this bug has been fixed internally already and will be in the next release.