Quantcast
Channel: Questions in topic: "error"
Viewing all articles
Browse latest Browse all 7934

Unity cannot find my animation.

$
0
0
I make an animation for an object in my scene and attach it as a component to the object I am animating. The problem is that when I go to trigger my animation (as shown in the script below), it gives me the error "The animation state Attack could not be played because it couldn't be found!" I have searched the web for solutions and some people say that I should change the animation to Legacy but I don't know how to do that because I am not importing it. Any help would be greatly appreciated. The video I am learning from is: http://www.youtube.com/watch?v=FKT7jIW6ORU ![alt text][1] ![alt text][2] [1]: /storage/temp/20787-unity02.png [2]: /storage/temp/20789-unity01.png

Viewing all articles
Browse latest Browse all 7934

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>