I’ve recently started working on Unreal Engine but i have been running into a certain persistent issue that i can’t seem to find how to fix. Over on Blender, i use Rigify to make a good rig for my character, something that i’ve seen other people do for Unreal Engine 4 and after making animations with it, on Blender, it looks nice and clean though after importing it as an FBX file over to Unreal Engine 4, version 2.24, certain parts of it glitch out and completely ruin my animations.
Here are screenshots of it:
This is what it looks like on Blender
And this is what it looks like on Unreal Engine 4 (The gun is there just to preview a socket)

Hi, Are you doing some kind of retarget after importing it to Unreal? When exporting check the Only deform bones and uncheck add leaf bones, on the armature tab. Exporting from Rigify to Unreal without any extra plugin or fixing can be hard because Rigify bone hierarchy has two chains and not a single one as Unreal likes, So I recommend you check the Unreal training on how to export from Rigify for a free option
And/or Uefy Plugin or Autorigpro for paid option (I prefer Autorig pro, it's pretty easy though it would mean to re-do your rig). Well, let me know how it goes.
I checked the livestream out but as it always is, they were using Blender 2.7 and i can’t find the same script for Blender 2.8 as the creator of it hasn’t updated it yet so i will remake the model as either way i would have replaced it at some point since it’s just a placeholder and hopefully won’t encounter the same problem