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?
<?xml version="1.0" encoding="utf-8" ?>
My computer’s specs:
Try . . .
- Close VS and the unreal editor
- Go to your project file
- Go to the “Binaries” folder → “Win 64” Folder
- Delete everything in the folder
- Right click on your “.uproject” file and select “Generate Visual Studio project Files”
- 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