When trying to launch any Custom Game, i get the following error in the Logs:
LogPlayLevel:Display: BuildCommand.Execute: ERROR: BUILD FAILED
LogPlayLevel:Display: Program.Main: ERROR: AutomationTool terminated with exception:
LogPlayLevel:Display: Program.Main: ERROR: Exception in AutomationTool: You are attempting to compile on a machine that does not have a supported compiler!
LogPlayLevel:Display: Stacktrace: bei AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable`1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InForceNonUnity, Boolean InForceUnity)
LogPlayLevel:Display: bei Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL)
LogPlayLevel:Display: bei BuildCookRun.DoBuildCookRun(ProjectParams Params)
LogPlayLevel:Display: bei BuildCommand.Execute()
LogPlayLevel:Display: bei AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
LogPlayLevel:Display: bei AutomationTool.Automation.Process(String[] CommandLine)
LogPlayLevel:Display: bei AutomationTool.Program.MainProc(Object Param)
LogPlayLevel:Display: bei AutomationTool.InternalUtils.RunSingleInstance(MainProc Main, Object Param)
LogPlayLevel:Display: bei AutomationTool.Program.Main()
LogPlayLevel:Display: Program.Main: ERROR: You are attempting to compile on a machine that does not have a supported compiler!
LogPlayLevel:Display: copying UAT log files...
LogPlayLevel:Display: RunUAT.bat ERROR: AutomationTool was unable to run successfully.
LogPlayLevel:Display: BUILD FAILED
Funny enough, Sample projects can be launched without any problem, so this must be some path issue with my custom projects; any hint on where i can look to resolve this?
looking at this part, “You are attempting to compile on a machine that does not have a supported compiler!” which would indicate that you need Visual Studios 2013. Can you confirm for me that you have VS2013?
LogPlayLevel:Display: Program.Main: ERROR: Exception in AutomationTool: You are attempting to compile on a machine that does not have a supported compiler!
Still happens with 4.1.1; Also tried reinstalling VS 2013 Express. Checked the Environment Variables if something was messed up (Though, VS can actually be found by the Editor, so that should not be a problem).
Also, when trying to launch the Editor NOT from VS directly, but by starting it from the Desktop Link it tells me that my Game-Module is not up-to-date. Though, i recompiled it multiple times with 4.1.1, also did a whole cleanup, regenerated Project Files.
Additionally, since this may help you in finding the cause, whenever i add code to the project through the Editor (aka, whenever i regenerate my project files), the Include- and Library- Paths in VS are reset to empty, and i always have to manually set them to inherit for it to compile again.
We apologize for the lack of follow up on this issue. Do you have any update on it? Is the problem still occurring for you, or were you able to find a solution?
Definitely please let us know if you were never able to get the editor to run, and we will be glad to discuss our options with you.
We are marking this as “resolved” for tracking purposes, until we hear back from you.
The editor did actually run all the time, and playing inside the editor was no problem as well.
I only had a problem when trying to launch the game or package it.
Though, after my SSD crashed horribly i needed to reinstall everything from scratch, and since then, everything is working correctly. I guess this had something to do with the system paths not being setup correctly or read correctly for some reason.
MainFrameActions: Packaging (Windows): HarvestEnvVars: ERROR: Cannot determine the location of the VS Common Tools folder.
It then flicks “HasCapabilityToCompile” to false, and refuses to package.
One solution seems to be HERE, however It doesn’t seem to work for me. (System32 is already in my PATH var)
Hopefully this helps to fix the issue. (If it’s the same issue everyone else is seeing.)
It would also explain why @indygoof’s worked after re-installing his system.
Cheers.
EDIT: I, like @DrunkCompiler don’t have the latin character issue.
EDIT 2: This solution worked for me. ( Was directly underneath the previous answer. XD ) Hope this helps someone.
Below is what I ended up with in the vcvars bat, feel free to edit: