Curious problem. I have a character with a few animations. Now i want them to play. But instead of playing the animation i get a warning:
The animation state attack could not be played because it couldn't be found!
Please attach an animation clip with the name 'attack' or call this function only for existing animations.
UnityEngine.Animation:CrossFade(String)
animationlernen:Update() (at C:/Users/x/Documents/New Unity Project/Assets/animationlernen.js:11)
As told, the animation exists. And i was even able to play it before. I think i got it to play by reimporting the character. So what goes on here?
I`ve attached the example file. Start the game, press CTRL, and you will get the error.
While at reducing the problem to just the involved items i get another error now too:
What does this error mean?