GLTF animation is not being imported correctly.

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.