Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

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,324
    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,324