Skeleton tracks bug when exporting to unreal from 3dsmax

https://fbexternal-a.akamaihd.net/safe_image.php?d=AQDZTiTFmdpTnfl5&w=470&h=470&url=http%3A%2F%2Fi.imgur.com%2FPBGKBDx.png&cfs=1

So I made a model and rigged it in 3ds max and gave it a basic test animation.
I also gave the model 4 sets of tracks made with a spline IK solver.
But when I export my files to unreal the tracks get all messed up like in the picture.
I got no errors and all the other animations work fine, it’s just the tracks.
Any tips on how I can fix this?