Visual Studio 2019 stuck compiling C++ project

Recently, I’ve been having trouble compiling my C++ project. Every time I try to build the project, VS never makes it past building the first action. Additionally, every time I try to rebuild, it gets stuck at the thirteenth action no matter what. I know that Incredibuild isn’t the problem because I uninstalled it. Until now, my project has always compiled in a timely fashion. I don’t know why it’s getting stuck now. Can anyone please tell me how to fix it?

My BuildConfiguration.xml:

<?xml version="1.0" encoding="utf-8" ?>
<Configuration xmlns="">

My computer’s specs:


Try . . .

  1. Close VS and the unreal editor
  2. Go to your project file
  3. Go to the “Binaries” folder → “Win 64” Folder
  4. Delete everything in the folder
  5. Right click on your “.uproject” file and select “Generate Visual Studio project Files”
  6. Try building your solution

This is usually the first thing I try when I get unusual build errors or issues. If this doesn’t work, try building the solution and walking away until it either succeeded or fails, if it fails report back.

That didn’t seem to work. It’s been building for some time now (between 10 and 30 minutes), and it’s still stuck at “Building 4 actions with 4 processes…”

I just solved the problem myself! It turns out that this line of code was causing VS to get stuck:

 UE_LOG(LogTemp, WARNING_LOCATION, TEXT("ComponentHit"));

I accidentally put WARNING_LOCATION as the Verbosity instead of Warning. I can’t believe I overlooked this!

Had similar issue - stuck VS on incorrectly specified verbosity for UE_LOG. In my case it was Invo vs Display. Using VS2019 community edition.

Good grief, that was it, thankyou. #facepalm