Search Issue Tracker
Fixed in 4.6.X
Votes
8
Found in
4.6.0b17
Issue ID
627780
Regression
No
UI Image fill amount breaks when value is set to 0 through script
To reproduce:
1. Open attached project
2. Open test scene
3. Select test game object
4. Press play
5. Press Down Arrow till fill amount value is 0
6. Press Up Arrow
7. Notice than Fill amount value changes, but image doesn't appear
Workaround: Drag fill amount slider the image will render again.
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
- [Build Profile] [VisionOS/iOS/tvOS] - Build Player Library button is getting displayed depending on the selected build target
- EnsureRunningOnMainThread error in TessellationJob.ApplyInset
- MultiColumnListView causes a memory leak when repeatedly shown and hidden
- Position Node with Object Space has a wrong value when there are multiple active GameObjects with the same shader
- [URP][RG] Fullscreen blit is not working when Render Graph is enabled
danUnity
May 01, 2020 22:07
Definitely still happening to me too in 2019.2.0f1
Ruufer
Feb 16, 2020 07:06
Definitely happening to me as well, not fixed
vhwang
Jun 13, 2019 20:36
Here we are in 2019 using unity 2018.3.3f1 and this issue is still an issue.
JSCHIECK's solution works.
FlorianBernard
Jul 29, 2016 22:29
Still true in Unity 5.4.0f3
dazzle_wolf
Nov 17, 2015 09:25
Yeah, this isn't fixed. It seems to not break things when you use a slider as provided by GameObject->UI->Slider, but then the slider fill does not disappear even when the value is 0. Hard to imagine that this is intended behaviour.
DewDrop
Apr 29, 2015 09:12
hi , i have the same issues when i tried to fillAmount of an "UI.Image" to 1.0 then it crashes on webGL. in unty editor it shows an error too. i had checked manual but no hope at all. is this issue fixed in 5.0?
iagoccampos
Mar 30, 2015 00:07
It hasn't been solved in Unity5 yet.... I have the same Bren's problem...
Bren
Dec 11, 2014 22:45
BTW, using a lowest value > 0 did not fix the issue.
This is in 4.6.1f1, so it appears this is not fixed.
Bren
Dec 11, 2014 22:33
Experiencing the same when fillAmount is driven by animation. Works in the tool when setting keyframes, scrubbing, previewing, etc. Does not work at run time. Though, yeah, if you click on the moving slider in the Inspector, it will visually update to its current fill amount for that frame.
Gizmoi
Sep 05, 2014 14:33
Apparently this is fixed and has just not made it into a release yet:
http://forum.unity3d.com/threads/image-fading-with-slider-breaks-at-0-is-it-by-design-or-a-bug.264048/