Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

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:
    94
    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,165
    Hi, this bug has been fixed internally already and will be in the next release.