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’

Any ideas about the error?


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…