Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by dorpeleg · Jun 27, 2013 at 11:57 AM · animationanimationclipcurveanimationcurvekeyframe

key count: 1 on curve 'curvename' error

Hello everyone.

I'm currently generating an animation clip via editor code.

I'm getting an error while animation is running.

This is the error:

Key count: 1 on curve 'Frame' UnityEditor.DockArea:OnGUI()

Any ideas about the error?

Thanks!

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image dorpeleg · Jun 27, 2013 at 12:13 PM 0
Share

question have been edited to reflect new updates

I solved my rotation problem.

and the error was gone even before that....

I'm going to leave this question open, in case someone knows where the error came from.

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by jonc113 · Aug 04, 2013 at 08:03 PM

I had this problem - and fixed it!

It turned out that in my animation, I had accidentally added an extra "curve". Not knowing it was there, I didn't add any keyframes to it. (It had the "dot" at frame 0, but nothing else) So, this curve had no keys? When I deleted this errant curve, the problem went away.

Hope this helps someone...

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image dorpeleg · Aug 04, 2013 at 08:08 PM 0
Share

Did you not have the "Clean Up Leftover Curves" button?

Normally, when you have an empty curve, you get a "Clean Up Leftover Curves" button.

I can't confirm if this is the solution because I don't have this error anymore.

If anyone will confirm this as the fix, I will gladly mark your question as answered :)

avatar image jonc113 · Aug 05, 2013 at 12:33 AM 0
Share

I recreated the problem just to check this: I took another value, clicked "Add Curve" - and did nothing else.

The "Cleanup Leftover Curves" does not show (although I've seen it on other occasions). And the problem re-rears its ugly head.

(That's assu$$anonymous$$g that bugs are inherently ugly.)

avatar image dorpeleg · Aug 05, 2013 at 05:56 AM 0
Share

Ok, will check it out, thanks :)

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

16 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

EDITOR: How to Change Animation Curve Colors 0 Answers

Problem using mecanim and the Animation process 0 Answers

Create a linear animation curve with javascript 1 Answer

Setting keys in Animation Editor through Editor code 0 Answers

SetEditorCurve() makes animation file too large. 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges