• 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
Question by Kaven-Co-Games · Dec 31, 2014 at 07:55 AM · constantconstants

Why are there extra frames in Unity's Animation System?

So I dont understand why there are these extra frames in the animation window. All of the keys' tangents are on "Constant" so there isn't any smexy lerping between values, but this little chunk that is on is extremely problematic for the feel of the game.

On a side note, I've found this to be on all of my animations throughout my game. Erm.

Why?

alt text

Comment

People who like this

0 Show 4
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 Landern · Dec 31, 2014 at 08:05 AM 0
Share

That transition between lighter/darker gray is generally where the last key was placed in the animation clip. Is there something hidden or collapsed?

avatar image Kaven-Co-Games · Dec 31, 2014 at 09:07 AM 0
Share

Nothing's collapsed or hidden. :/

avatar image Kaven-Co-Games · Dec 31, 2014 at 04:42 PM 0
Share

I seem to have that same issue even with random keyframes. Let me update to 4.6.1 and see if I have the same problem.

avatar image BMayne · Jan 02, 2015 at 08:14 PM 0
Share

Just resize the timeline...

3 Replies

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by nicksmif · Apr 28, 2017 at 11:27 AM

check your keyed properties. if you have a key on a sprite property it may be taking up 2 frames. you only need to move that one key one frame earlier.

Comment
dugmcdug

People who like this

1 Show 1 · 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 dugmcdug · Sep 24, 2017 at 12:18 AM 0
Share

This was driving us nuts! Thanks for the actual correct answer!

avatar image

Answer by Landern · Dec 31, 2014 at 09:15 AM

If you start a new test project, create a new clip for some gameobject(empty, cube, whatever) and you create a couple keyframes, do you have the same issue? I do not have this issue in 4.6.1

Comment

People who like this

0 Show 0 · 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

Answer by qbertreynolds · May 10, 2015 at 03:48 AM

I've run into the same issue with stepped animations (constant tangents). Instead of having identical first and last keyframes like you would with smooth tangents, delete the last keyframe and extend the second to last keyframe to one sample before where you would normally put your duplicate. For example, if you have a 3 frame looped animation with keyframes every fifth sample, it would normally look like so:

 A0, B5, C10, A15

Your workaround will instead look like this:

 A0, B5, C10, C14
Comment

People who like this

0 Show 0 · 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

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

7 People are following this question.

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

Related Questions

Constants in javascript 1 Answer

can/should I use a Toggle button for constant camera movement across an Axis? 3 Answers

Enumerated Colors 2 Answers

My moving object decelerates when almost reaching a next point in the bezier curve,My gameobject decelerates when reaching a next point 0 Answers

How would you do a constant moving a character controller? 2 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