Animation can't find my animations

Hi. I created a model with animations in 3D max on timeline. In Unity I split it into 4 parts called Walk, Death, Stay and Jump. Error massages:

The animation state walk could not be played because it couldn’t be found!
Please attach an animation clip with the name ‘walk’ or call this function only for existing animations.
UnityEngine.Animation:Play(String)

The problem is I got this animation. I’ve got component called Animation. In category Animations exists 4 animations called as I said at the top. I have no idea why it doesn’t work. The problem is also that my model can’t be loaded in default stay position.

What can I do?

EDIT: In-script code

public Animation walk;

if(blablabla)
animation.Play (“walk”);

I change it to legacy and it works great, thanks ^ ^