Search Unity

Unity UI Animating UI Image which are Tiled... impossible?

Discussion in 'UGUI & TextMesh Pro' started by Avalin, Apr 23, 2023.

  1. Avalin

    Avalin

    Joined:
    Oct 12, 2018
    Posts:
    98
    I have 2 images, one simple, one tiled. Both utilizing the same animation. The Simple one works perfectly.
    The Tiled one apparently doesn't play all the frames even when it hits the keyframe, and shows it changes to sprite_2, it still shows sprite_1. It feels quite unreliable. Is this a bug, or am I missing something? Any good worksarounds (preferably not too performance heavy)?
     
  2. Avalin

    Avalin

    Joined:
    Oct 12, 2018
    Posts:
    98
    Eh, I fixed it by setting the Sprite to "Clamp" instead of "Repeat". It still repeats and works as a Tiled background, Unity will throw a warning, but at least animation works I guess.