unreal engine -waitmutes-2015 已退出,代码为 255

unreal engine -waitmutes-2015 exited with code 255

当我在 ue4 中创建一个新的 c++ 项目时(版本无关紧要,因为大多数 4.8-4.11 都存在同样的问题)它给了我:

以下模块缺失或使用不同的引擎构建 version:UE4Editor-test.dll 您现在要重建它们吗?

我按是,它给了我: 测试无法compiled.try手动从源重建。

当我在 VS2015 中构建 "source" 时,我得到 :MSB3073 命令“"C/:Program Files (x86)\Epic Games.11\Engine\Build\BatchFiles\Rebuild.bat" testEditor Win64 Development "C:\Users\usr\Documents\Unreal Projects\test\test.uproject" -waitmutex -2015”以代码 255 退出。

所以我无法在编辑器中打开为 C++ 制作的项目(没有蓝图)。

感谢任何帮助!!

这似乎是一个已知问题: https://answers.unrealengine.com/questions/185309/cant-compile.html(我知道它很旧,但这似乎是 UE4 有时喜欢 运行 的问题)

从 link 下方 上方 中删除以尝试修复此错误:

Rebuild your project: https://www.youtube.com/watch?v=5J4ocSzoDK8 (delete your .sln files and your Binary/Win64 folder. Right-click .uproject and "generate visual studio files"

如果这不起作用,如果您使用的是 Unreal Launcher:尝试从源代码构建:https://docs.unrealengine.com/latest/INT/Programming/Development/BuildingUnrealEngine/

如果这仍然不起作用,我会重新安装 Visual Studio(如果您使用的是旧版本,请将其更新到最新版本)并使用源代码版本的 UE4 再试一次。 (我当然希望这最后一个有效。VS + UE4 设置下载量很大)

希望其中之一能有所帮助:)