x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

UE4.20.1: BuildException: UBT ERROR: Failed to produce item

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: https://www.pastiebin.com/5b6fb672c3390

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)

alt text

Attempted

.

Existing issues:

The issue below has a similar error message to mine, but their full trace are not similar to mine.

Product Version: UE 4.20
Tags:
more ▼

asked Aug 12 '18 at 04:47 AM in Using UE4

avatar image

amoshydra
11 1 2 5

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

I manage to resolve the problem. I believe my Windows 10 SDK 10.0.16299.0 is corrupted. So, I deleted my local copy of 10.0.16299.0 and replace it from https://github.com/tpn/winsdk-10/tree/9b69fd26ac0c7d0b83d378dba01080e93349c2ed/Include/10.0.16299.0

Repair / reinstalling from Visual Studio Installer doesn't seem to fix my problem.

Solution

So I ended up doing this instead:

Obtain new copy of 10.0.16299.0

  1. Delete C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0

  2. Replace it with the copy I got from https://github.com/tpn/winsdk-10

.

Resetup unreal project

  1. Delete Binaries, Intermediate and Saved from my project folder

  2. Reopen my uproject (i.e. vr001.uproject)

  3. Accept rebuilding

more ▼

answered Aug 12 '18 at 09:22 AM

avatar image

amoshydra
11 1 2 5

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question