Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question "Clip length" not updated when overwriting an animation (fbx)

Discussion in 'Animation' started by Peter77, Jul 28, 2020.

  1. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,589
    I have an existing FBX with a "run" animation, that ends at frame 11:
    upload_2020-7-28_10-55-28.png

    When I now overwrite it with an updated FBX file, where the animation length has been changed, in this case to 9, Unity still keeps the 11.

    I've to edit every animation by hand to set them to the "proper end value". I drop the new FBX under a different name in the project to find out its actual Start/End values and then transfer them to the existing/overwritten animation by hand.

    That's an awful workflow, so I must be doing something wrong.

    How can I let Unity automatically adjust the Start/End values? If there a scripting API that I can use to force this behavior?
     
  2. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,589