Hey so i have imported an mesh and it’s rigged and everything but it wont let me import the animations for it… It works for others to import the mesh and import the animations but wont work for me. Here is the error FBXImport: Error:
Animation length 4.958 is not compatible with import frame-rate 30 fps (sub frame 0.75), animation has to be frame-border aligned.
FBXImport: Error: Import failed.
Hello! Faced the same problem. If I understand correctly, the length of the animation should be divided by the frame rate without a trace (or something like that).
Try to set Animation Lenght - Set Range and set animation length 0 - 5
I’m also having the same issue with UE 5.0.3 and am unable to import any FBX animations.
I was using the exact same animation with the exact same settings in UE 5.0.2 and had no issues at all.
I did some digging in the source code of UE for to see what changed between 5.0.2 and 5.0.3 and it looks like a few lines of code with an additional error check have been implemented and are causing this issue.
I just sent a bug report to epic games, but it will most likely take some time for this to be fixed so I’m urgently looking for a workaround.
Setting Animation Length to ‘Animated Time’ did not work for me.
Setting it to Set Range and setting a specific number as Max did work in some cases, but I can’t seem to find the right pattern to reliable calculate the number to use here and usually just start at the full amount of frames for the animation and subtract 1 each time until I find a value that works.
I’ve only experienced this error on animations that are exported as 60fps, 30fps seems to be working as a placeholder so far. Hopefully this is fixed soon…
I found a solution for me. I was exporting animations from iClone at 24fps with a range. Lets use 1500 for an example. I imported the animation with “Set Range” in Unreal and had to take 1500, divide that by 60 (for 60fps), which is 25. Then mulitply 25 x 24 (for 24fps). I dont understand why this happens, but it works for me. Hope it helps you.
I’m also having an issue with this. Changing the set range to be 0-60 will work for import, but the rest of the frames would be cut off if I were to do this.
Thanks for the suggestion!
I don’t know much about IClone, but I tried importing hand made animations at 30 fps from blender following your method of calculation, but it doesn’t quite seem to work.
Getting issues regardless of the framerate.
Sometimes I can import that way, but the second half of the animation is lost.
I really hope someone is gonna take a look at the bug report soon since this is a huge issue.
It’s not a great workaround but I imported into 4.XX and then open a copy in UE5 (which would only work for new projects). Could probably also migrate from 4 to 5 if you are in the middle of a project.
Found a solution! I have an animation 0-390 frames with 30fps. Tried to set range 0-390, 0-389. Don’t work. But 0-380 works fine! I think you should decrease the range for 2-3 frames.
Figured out a solution for me! Make sure to click “Use default sample rate”, or, specify your animation FPS as the sample rate. Then, select “animated time” when importing.
This is a good workaround for many animations but it does cut off part of the animation. In my case this is unfortunately not a solution as it produces a very jarring jump in my animation loop.