animation state could not be played because it couldn be found

plz help cant start any animation just because this is happening…

yes i hhave the script and and animation at the same gameobject.

people are talking about legacy and inspector when it comes to this problem

im kinda new to unity and im not the best english reader in the world either…

Can anyone PLZ explain to me as basic as possible HOW to fix or prevent this error/problem?

MANY TY in advance!!!

Hi!
I am not very experienced with unity but this is what I know…

Legacy is the way that animations where managed in previous versions. You can select your model in the project hierarchy and you will see the Import Settings on the inspector.

There, if you go to Rig, you can select Legacy in Animation Type. Then your animations on the model will be handled as in previous versions of unity and you will be able to play them the way you are trying.

Anyone more experienced correct me if I am wrong

Step one: Type so it’s easier to read, without the caps here and there (and the shorthand as well). Also, giving more information would help.

Now then, I have very little idea what your issue is because you gave very little information.
First, make sure you did these:
1 Animation

  1. Create the animation in the appropriate way (inside or outside of Unity doesn’t matter, although Legacy/Generic type matters for this)
  2. Attach an Animation component to the object (typically imported objects with an animation once marked “Legacy” under “Rig” have this automatically)
  3. For the first field next to “Animation”, drag your clip onto that field if you’re clip isn’t there
  4. Use Animation.Play() in your code to play it (or test it by checking “Play Automatically”

Now, you didn’t even give an error so I don’t even know what’s happening. If it’s a Generic-Legacy animation type, it would have given you an error, or at least a warning,.