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. Dismiss Notice

Slider fill area if set to "filled" mode won't appear again, after dropping value to 0

Discussion in 'UGUI & TextMesh Pro' started by fivepointsevenn, Sep 14, 2014.

  1. fivepointsevenn

    fivepointsevenn

    Joined:
    Aug 20, 2014
    Posts:
    32
    Slider fill area mode is set to "filled horizontal". This is what happens.

     
  2. rakkarage

    rakkarage

    Joined:
    Feb 3, 2014
    Posts:
    683
    does not happen with a newly created slider
    what did you change?
     
  3. fivepointsevenn

    fivepointsevenn

    Joined:
    Aug 20, 2014
    Posts:
    32
    Create new slider. Change "Fill" image type to "Filled". That's it.
    "Horizontal" method is optional, it happens with any method for me.

     
  4. rakkarage

    rakkarage

    Joined:
    Feb 3, 2014
    Posts:
    683
    Fill it with the slider on the Slider game object not image in child
     
  5. fivepointsevenn

    fivepointsevenn

    Joined:
    Aug 20, 2014
    Posts:
    32
    If I set sider itself to "Filled", fill image still keeps stretching, instead of filling.
     
  6. rakkarage

    rakkarage

    Joined:
    Feb 3, 2014
    Posts:
    683
  7. fivepointsevenn

    fivepointsevenn

    Joined:
    Aug 20, 2014
    Posts:
    32
    How's your slider configured?
    When I do like you said, and replace fill image with my own, it keeps stretching, while i need it to simply wipe.
     
  8. rakkarage

    rakkarage

    Joined:
    Feb 3, 2014
    Posts:
    683
    oh. sorry idk, strange
     
    Last edited: Sep 14, 2014
  9. ortin

    ortin

    Joined:
    Jan 13, 2013
    Posts:
    221
    Isn't it just a bug which should be reported? As it works totally fine unless you hit 0.
     
  10. VBsec

    VBsec

    Joined:
    Aug 1, 2014
    Posts:
    7
    With an image that uses a fill type "filled", the fill refuses to display itself after setting it to 0 in script. The value changes but no fill appears on screen until the fill slider is clicked manually in the inspector. These things might very well have something in common.
     
  11. Dantus

    Dantus

    Joined:
    Oct 21, 2009
    Posts:
    5,667
    Yeah, it is called bug :) Did anyone report it?
     
  12. ortin

    ortin

    Joined:
    Jan 13, 2013
    Posts:
    221
  13. Tim-C

    Tim-C

    Unity Technologies

    Joined:
    Feb 6, 2010
    Posts:
    2,181
    Are you using b17 or 18? this was fixed in 18 afaik.
     
  14. fivepointsevenn

    fivepointsevenn

    Joined:
    Aug 20, 2014
    Posts:
    32
    b17.
    I'll upgrade right now. Thanks.