There is no ' Animation ' attached to the ' Player ' game object
Encounter this error when you practice the video tutorial of Unity3d shooting game with Miss Gong.
I know the meaning: when the player model is imported, the animation is not added correctly, suggesting that the animation mentioned in the script cannot be found. But actually, I set up the animated segment. Since the Unity 3D version is newer than the one used by the Gong teacher, this animation is split and different from the video.
Missingcomponentexception:there is no ' Animation ' attached to the ' Player ' game object, but a script was trying to access It.
You probably need to add a Animation to the game object "Player". Or your script needs to check if the component is attached before using it.
UnityEngine.Animation.PlayQueued (System.String Animation) (at c:/buildagent/work/d63dfc6385190b60/artifacts/ editorgenerated/animations.cs:645)
Player.update () (at assets/scripts/player.cs:16)
You only need to set the rig-animationtype of the U3D model to legacy.
Sync Hair on Blog http://anforen.com/wp/2014/11/there-is-no-animation-attached-to-the-player-game-object/