Hi everyone,
I’m using VS2017 with the 4.15 editor and there is something which is not working fine : whenever I try to build from VS, I have this error :
1>------ Start building : Project : Escape, Configuration : Development_Editor x64 ------
1>Compiling game modules for hot reload
1>Performing 3 actions (4 in parallel)
1>OpenDoor.cpp
1>[2/3] Link UE4Editor-Escape-1794.dll
1>[3/3] Link UE4Editor-Escape-445.lib
1> Building library D:\Dev\Unreal\Escape\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-Escape-1794.lib and object D:\Dev\Unreal\Escape\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-Escape-1794.exp
1> Building Library D:\Dev\Unreal\Escape\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-Escape-1794.suppressed.lib and object D:\Dev\Unreal\Escape\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-Escape-1794.suppressed.exp
1>ERROR : UBT error : Failed to produce item: D:\Dev\Unreal\Escape\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-Escape-445.lib
1>Total build time: 3,09 seconds (Local executor: 0,00 seconds)
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets(44,5): error MSB3075: The command ""C:\Program Files\Epic Games\UE_4.15\Engine\Build\BatchFiles\Build.bat" EscapeEditor Win64 Development "D:\Dev\Unreal\Escape\Escape.uproject" -waitmutex" exited with code 5. Please verify that you have sufficient rights to run this command. 1>Build of the project "Escape.vcxproj" finished -- FAIL.
========== Build : 0 succes, 1 failed, 0 updated, 0 ignored==========
BUT, if I compile it in unreal, there is no problem. And then if I try build in VS, everything works fine, until I edit something and I rebuild it.
I tried to delete Unreal Derived files, but it does not solved the problem, and things are even worse now : I can’t acces my project anymore in VS, it say “failed to load”.