I decided to try building engine from the source. First thing that happened is that I got error that I don’t have all the files. Turned out UE4 docs don’t say a thing about dependencies.
After running Setup.bat and getting 99% of the dependencies, I got this error:
Between the missing files and running Setup.bat, did you start fresh with a new untouched directory tree? Since I’ve always run Setup.bat right away I wonder if maybe something could have gotten wacky in there and when it scanned for dependencies it got confused.
That build error is from the C# stuff, which are tools that help build the engine. Considering how delicate UE4 can be, really I think you should try the whole install process from the very beginning. Get a fresh copy of the source tree into its own directory, run Setup.bat, allow prerequisites when asked. When that is done, run GenerateProjectFiles.bat and then try building the engine. If you still have an issue we can dig deeper – or you could go with 4.15.1 in case this is a recent bug no one has seen yet.