While attempting to add a source-code plugin to my source-code build of UE4, I somehow messed it up and it won’t launch. So I’m doing a clean rebuild.
I deleted the Saved and Intermediate folders, marked all the files so they’re not Read-only (in both the engine folder and my project), tried what Google says to do to remove the Mark of the Web from Visual Studio files, etc.
But no matter what I’ve done, when I try to Rebuild All on the UE4 solution in VS 2017, it works for about 2 minutes, then I come back 24 hours later to find that it’s still on the same log at the same progress bar position as it was at 2 minutes from the start.
No error messages except for the numerous warnings about access denied and mark of the web and cannot build UnrealBuildTool, etc., but those were all from the first 2 minutes. The most recent log is from 24 hours before. So I Cancel the Build and try a few more random things the internet says to do, and I try Rebuild All again. Same thing happens, just gets stuck on a different file this time.
Sometimes it gets stuck compiling Slate, sometimes it gets stuck compiling something else. It’s always a little different. Maybe I just have to keep Building and Canceling until it gets through all 25,000+ files?
Is it because I’m trying to build 4.20.3 with VS 2017 when the project file has a tiny “15” in the corner of its icon in File Explorer?
Without error messages or any kind of feedback from the compiler, I have no clue what I’m doing wrong, or why it thinks it’s fine to just sit there doing nothing all day after it was working for 2 minutes, and then still tells me it’s busy building the project/solution when clearly it’s not.
I tried changing from Debug build to Development - Editor build config. Didn’t really make a difference.
I also tried disabling this weird thing I don’t remember ever installing, called Incredibuild. What’s that for? Should I be using it instead of the regular Build menu? I disabled it in case it was interfering with the regular Builder, maybe locking files or something. But it doesn’t seem to have made a difference.
I also tried setting Trusted local and remote web sites in Internet Explorer to include localhost, and removing something called “streams” from all subdirectories of Visual Studio and my Unreal Engine 4.20.3 source build (using the streams.exe file from Microsoft)
I have no idea what I’m doing, let alone what I’m doing wrong. I’m trying to remember how I got through this gauntlet of obstacles last time I built from source. I remember struggling just as much that time, and sadly can’t remember what magical random thing I did to make it work back then.
Any ideas what I can do about this? I need my source build working again. All I wanted to do was add one measly plugin, and now I can’t even open my project in the Editor.