Problem
This problem happen when I am trying to create a new C++ Basic Code project
Logs
<>c.<PrintExceptionInfo>b__4_1: ==============================================================================
<>c.<PrintExceptionInfo>b__4_0: UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: C:\Projects\unreal\vr001\Binaries\Win64\UE4Editor-vr001.dll
<>c.<PrintExceptionInfo>b__4_0: (see ../Programs/UnrealBuildTool/Log.txt for full exception trace)
<>c.<PrintExceptionInfo>b__4_1:
<>c.<PrintExceptionInfo>b__4_1: BuildException: UBT ERROR: Failed to produce item: C:\Projects\unreal\vr001\Binaries\Win64\UE4Editor-vr001.dll
<>c.<PrintExceptionInfo>b__4_1: at UnrealBuildTool.ActionGraph.ExecuteActions(BuildConfiguration BuildConfiguration, List`1 ActionsToExecute, Boolean bIsRemoteCompile, String& ExecutorName, String TargetInfoForTelemetry, EHotReload HotReload) in D:\Build\++UE4\Sync\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\System\ActionGraph.cs:line 570
<>c.<PrintExceptionInfo>b__4_1: at UnrealBuildTool.UnrealBuildTool.RunUBT(BuildConfiguration BuildConfiguration, String[] Arguments, FileReference ProjectFile, Boolean bCatchExceptions) in D:\Build\++UE4\Sync\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs:line 1673
<>c.<PrintExceptionInfo>b__4_1: ==============================================================================
UnrealBuildTool.RunUBT: Total build time: 152.90 seconds (Parallel executor: 0.00 seconds)
Full log: [Pastiebin.com 5b6fb672c3390][1]
Visual Studio Installation:
Summary
- Visual Studio core editor
- Desktop development with C++
- Game development with C++
- Individual components
- Windows 10 SDK (10.0.17.134.0)
Attempted
- Clean Visual Studio using GitHub - microsoft/VisualStudioUninstaller: Visual Studio Uninstallation sometimes can be unreliable and often leave out a lot of unwanted artifacts. Visual Studio Uninstaller is designed to thoroughly and reliably remove these unwanted artifacts.
- verify Unreal Engine
- Rebuild solution in Visual Studio
.
Existing issues:
The issue below has a similar error message to mine, but their full trace are not similar to mine.
- Build error in plugin: [Adaptive unity build] Disabling PCH for excluded files - Platform & Builds - Epic Developer Community Forums / precompiled headers - Unreal Engine 4.20 build error in plugin: [Adaptive unity build] Disabling PCH for excluded files - Stack Overflow (seems similar but I don’t know where to apply the solution)
- Every time UE updates to a new ver I cant build - Platform & Builds - Epic Developer Community Forums (no solution)