Why does 'Reimport' always import the first animation clip?

Build Type: Source build of 4.12.5 from GitHub, compiled on Linux AMD64 w/GCC 4.9.3

Build Version: 4.12.5-0+UE4

Detailed description of the issue: My FBX files often contain multiple animation clips. For example, I might have files like Zombie.Movement.fbx, Zombie.Attacks.fbx, Zombie.Damage.fbx each containing any number of animation clips in their category.

When I first import such an FBX file into Unreal Engine, the animation clips are imported correctly.

Selecting any animation and hitting “Reimport” however always imports the first animation clip in the FBX file.

Screenshots/Link to video: Here’s what I see after importing one of my FBX files from scratch (note the number of frames is different for each animation)

104010-first-import.png

When I multi-select all animations and hit “Reimport” in the context menu, Unreal Editor imports the “Dieing” animation four times (note that the number of frames is now the same in all animations)

104031-reimport.png

Repro Steps:

  • Download the model im using and drag it into the Content Browser: [PolyBudgetMan-Master.zip][3]
  • Notice that four distinct animations with different lengths have been imported
  • Select all animations in the Content Browser and hit “Reimport” in the context menu
  • Notice that all four animations have now turned into the very first animation from the FBX file (“Dieing”)

System Specs:

  • Gentoo Linux, AMD64, Kernel 4.4.6,
  • KDE5 and proprietary NVidia drivers 367.27
  • Blender version 2.77 and Unreal Engine 4.12.5 compiled with GCC 4.9.3

Hey cygon-

Thank you for the sample asset to test this issue with. I have entered a bug report to investigate this issue that you can follow here: Unreal Engine Issues and Bug Tracker (UE-35101)

As a temporary workaround, it may be best to save each animation individually rather than all in the same FBX. That way when you need to reimport it will look at the file for the specific animation.

Cheers