Why is Unreal freezing when compiling?

Try turning off Automatically Compile Newly Added C++ Classes in Editor preferences, then add your classes. After all classes has been added, go to File → “Refresh Visual studio project”.

This will allow you to compile from Visual Studio.

1 Like