I'm trying to play two animation clips sequentially using Unity 2D. I've been using Mecanim for this so I've imported the two clips in a newly created controller and connected the first one to the next one. I also want the last clip to be looping so I set that toggle in the settings of the clip.
Now for some reason the first clip is played just fine but the second one doesn't animate at runtime. It loops fine in the Animator window and the clip itself works in the preview window but not at runtime.
I've also tried setting it up using the Animation Component and use the PlayQueued method but this doesn't give any animation.
I'm kind of lost on what to try next
EDIT: This is to be used on a Canvas UI Image