4.3 Sprite animation and animator

Hi all,

I have a sprite with multiple images in it. I already sliced them fine.

Then I drag&dropped some slices to the scene, which created an animation. I did that for walking left, right, … animations.

After that, I created an animator and drag&dropped the animations there. I could set transitions to any of these animations.

Now my issue is that the preview panel always says “No model is available for preview”. Also, when creating an empty gameobject on which I add the Animator component and set the controller, I do not see the sprite on the scene (it still shows the empty gameobject default icon).


After more testings, I found out how to fix that:

on my gameobject, I had to add a “Sprite Renderer” and put any sprite on it.