Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialCreativeGvc B
Courses Plus Student 3,386 PointsFrog Jumps only foreword or doesn't jump at all
Unity Showing that there is an error:
MissingComponentException: There is no 'Animator' attached to the "CL_CL_froglower" game object, but a script is trying to access it. You probably need to add a Animator to the game object "CL_CL_froglower". Or your script needs to check if the component is attached before using it. UnityEngine.Animator.SetFloat (System.String name, Single value) (at C:/buildslave/unity/build/artifacts/generated/common/modules/AnimatorBindings.gen.cs:261) PlayerMovment.FixedUpdate () (at Assets/Scripts/PlayerMovment.cs:27)
what does it mean?
Thanks! :)
2 Answers
John Steer-Fowler
Courses Plus Student 11,734 PointsHi there,
Could you please post your code for PlayerMovment.cs?
Thanks
CreativeGvc B
Courses Plus Student 3,386 PointsIts true! didn't implement in the right place! Thanks for your help! :)
Helgi Helgason
7,599 PointsHelgi Helgason
7,599 PointsYou might have added a script to the wrong gameobject. Cl_CL_froglower is a child of the player gameobject. Click it in the Hierarchy and see if you've attached a script to it.