Can't launch the game (PIE is fine)

Hi,

I am trying to launch my game. It works very well from within the editor so I was expecting no trouble when launching separetely, but it fails.

When I click Launch in the editor, the build fails very fast. Here is the end of the output log.

LogPlayLevel:Display: Automation.Process: Compiling scripts.
LogPlayLevel:Display: ScriptCompiler.LoadPreCompiledScriptAssemblies: Loading precompiled script DLLs
LogPlayLevel:Display: ScriptCompiler.LoadPreCompiledScriptAssemblies: Found 7 script DLL(s).
LogPlayLevel:Display: ScriptCompiler.LoadPreCompiledScriptAssemblies: Loading script DLL: D:\UnrealEngine\Engine\Binaries\DotNET\AutomationScripts\AutomationScripts.Automation.dll
LogPlayLevel:Display: Program.Main: ERROR: AutomationTool terminated with exception:
LogPlayLevel:Display: Program.Main: ERROR: Exception in AutomationTool: Failed to load script DLL: D:\UnrealEngine\Engine\Binaries\DotNET\AutomationScripts\AutomationScripts.Automation.dll: Could not load file or assembly 'AutomationScripts.Automation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
LogPlayLevel:Display: Stacktrace:    at AutomationTool.ScriptCompiler.LoadPreCompiledScriptAssemblies(List`1 OutScriptAssemblies)
LogPlayLevel:Display:    at AutomationTool.ScriptCompiler.FindAndCompileAllScripts(List`1 AdditionalScriptsFolders)
LogPlayLevel:Display:    at AutomationTool.Automation.Process(String[] CommandLine)
LogPlayLevel:Display:    at AutomationTool.Program.MainProc(Object Param)
LogPlayLevel:Display:    at AutomationTool.InternalUtils.RunSingleInstance(MainProc Main, Object Param)
LogPlayLevel:Display:    at AutomationTool.Program.Main()
LogPlayLevel:Display: Program.Main: ERROR: Failed to load script DLL: D:\UnrealEngine\Engine\Binaries\DotNET\AutomationScripts\AutomationScripts.Automation.dll: Could not load file or assembly 'AutomationScripts.Automation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
LogPlayLevel:Display: ProcessManager.KillAll: Trying to kill 0 spawned processes.
LogPlayLevel:Display: Program.Main: AutomationTool exiting with ExitCode=1
LogPlayLevel:Display: Domain_ProcessExit
LogPlayLevel:Display: ProcessManager.KillAll: Trying to kill 0 spawned processes.
LogPlayLevel:Display: copying UAT log files...
LogPlayLevel:Display: RunUAT.bat ERROR: AutomationTool was unable to run successfully.
LogPlayLevel:Display: BUILD FAILED

I checked that the apparently faulty file does exist so it doesn’t look like a failed build on my part. I am using UE4.4 from a source install on Win8 x64.

Thanks !

OK this is ridiculous but I just found out the solution. It’s just Windows being Windows. Sorry !