How do I stop UE4 from freezing?

Hi, if you are using a Nvidia card try disabling the NVidia Shadowplay thing. I had the same issue and it solved my problem.