Error: RunUAT.bat ERROR: AutomationTool was unable to run successfully. Cannot build.

UPDATE: I just found out I have the same problem also when compiling a BLANK project with nothing inside it