GLTF animation is not being imported correctly.

I am trying to import a character model with textures, bones and animations into unreal engine(gltf file). The model and its texture looks correct, but all the animation sequences are only 1 frame. I have tried toggling the different settings in the pipeline configuration, but nothing seems to work. So far i have tried importing in 5.5, 5.4, 5.3, 5.1 and all yielded the same result, I should also mention that i am not receiving any errors during the import.

I previewed the gltf file using a vscode extension and also imported into blender, in which both cases displayed the animations fine. Given that other software is able to read the gltf file, I would assume that the UE gltf importer is at fault.

Here is a model i am trying to import:
worserobot.zip (3.3 MB)

I could reproduce that, I will open a ticket internally for investigation.

1 Like

I rewrote the code of the gltf exporting tool that i used, and found that the reason UE wasnt able to import the animations was because each bone had 2 nodes for animation(1 node was used for transformation while the other node had the animations).

When exporting the gltf with only 1 node for each bone, then unreal engine was able to animate the bones.

Hey there, I am facing the same issue with a custom rig and I am uncertain what you refer to as with “nodes” on the export? Could you please enlighten me a bit that helps me getting closer to solve the issue?

Best wishes

sorry for the late reply. I used vscode with an extension called “gltf tools”, and it was inside here that i was able to preview my gltf models with animations and bones. In this preview my gltf looked completely fine, but when exporting to ue5 then i only got a single frame of animation for each animation. I found that the export tool i was using were exporting the gltfs with 2 nodes per bone, and i rewrote the code of the tool to instead create the gltf with 1 node per bone instead. As seen in the image i only have 1 node per bone, which fixed the issue in my case. You could try using the gltf tools in vscode and see if your gltf also uses 2 nodes on each bone