# Cannot build project (UBT ERROR)

**URL:** <https://forums.unrealengine.com/t/cannot-build-project-ubt-error/352380>\
**Category:** Platform & Builds\
**Tags:** uat, build, unreal-engine, ubt, build-failed, question\
**Created:** [March 31, 2016, 3:11pm UTC](https://forums.unrealengine.com/t/cannot-build-project-ubt-error/352380 "2016-03-31T15:11:17Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_dffed3981](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_dffed3981](https://forums.unrealengine.com/u/anonymous_user_dffed3981)\
**Post date:** [March 31, 2016, 3:11pm UTC](https://forums.unrealengine.com/t/cannot-build-project-ubt-error/352380/1 "2016-03-31T15:11:17Z")

</div>

Hello!  
I cannot build my project due to some Unreal Build Tool error.  
I’ve tried building for both Windows and Android but I get the same UBT error:

```
UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: 'filepath'.exe

```

I have attached the log file if you would like to take a look at it yourself.

I’m pretty new to Unreal. I’ve tried restarting Unreal and even my machine.

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [March 31, 2016, 7:04pm UTC](https://forums.unrealengine.com/t/cannot-build-project-ubt-error/352380/2 "2016-03-31T19:04:29Z")

</div>

Hello,

- Are you able to package a clean, blank project successfully?
- Does this occur if you try upgrading the project to 4.11 and packaging it there?
- Have you tried deleting your saved and intermediate folders from your project and packaging again?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_dffed3981](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_dffed3981](https://forums.unrealengine.com/u/anonymous_user_dffed3981)\
**Post date:** [March 31, 2016, 10:22pm UTC](https://forums.unrealengine.com/t/cannot-build-project-ubt-error/352380/3 "2016-03-31T22:22:22Z")

</div>

I can build an empty project (or any other project) without problems. I do not currently have any other engine versions installed. Deleting the saved and intermediate folders didn’t help either.

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [April 3, 2016, 3:49pm UTC](https://forums.unrealengine.com/t/cannot-build-project-ubt-error/352380/4 "2016-04-03T15:49:08Z")

</div>

Are you working with a blueprint or code project?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_dffed3981](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_dffed3981](https://forums.unrealengine.com/u/anonymous_user_dffed3981)\
**Post date:** [April 3, 2016, 3:59pm UTC](https://forums.unrealengine.com/t/cannot-build-project-ubt-error/352380/5 "2016-04-03T15:59:07Z")

</div>

I have one C++ class as a parent for a couple of blueprints. However, I’ve been thinking about remaking the class as a blueprint and reparent the child classes. Do you think that would help?

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [April 3, 2016, 4:08pm UTC](https://forums.unrealengine.com/t/cannot-build-project-ubt-error/352380/6 "2016-04-03T16:08:23Z")

</div>

It’s worth a shot. It seems like some of the errors that you were getting may have been related to declaring a function in the header file, but not having any implementation of that function in the .cpp. Is that something that you have occurring in your project currently?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fbe5155f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fbe5155f](https://forums.unrealengine.com/u/anonymous_user_fbe5155f)\
**Post date:** [April 4, 2016, 12:22pm UTC](https://forums.unrealengine.com/t/cannot-build-project-ubt-error/352380/7 "2016-04-04T12:22:45Z")

</div>

Some things to try

- Fix the redirectors (right click contents → Fix redirections)
- There is a warning about a Class none, that may be related to the redirections.
- **Disable most plug-ins**
- Sometimes it’s been reported that Blueprints can fail compiling if they have underscore in their files (I have not had that issue personally)
- Delete Binaries/Saved/Intermediate. Relaunch
- Try Cook.

hope this helps.

---

<div class="post-metadata">

**Author:** ![Mauricio\_N.Santos](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mauricio\_N.Santos](https://forums.unrealengine.com/u/Mauricio_N.Santos)\
**Post date:** [September 5, 2016, 5:46am UTC](https://forums.unrealengine.com/t/cannot-build-project-ubt-error/352380/8 "2016-09-05T05:46:32Z")

</div>

Hi. I found a simple solution: execute Epic Laucher as administrator. After deleting Saved, Intermediate and Build folders, moved the project folder to other drive, because long path strings can be a problem for Unreal, I figured out that some administrative issues in Windows can bother.  
All the best!

---

<div class="post-metadata">

**Author:** ![Edregol](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Edregol](https://forums.unrealengine.com/u/Edregol)\
**Post date:** [June 1, 2017, 7:55pm UTC](https://forums.unrealengine.com/t/cannot-build-project-ubt-error/352380/9 "2017-06-01T19:55:28Z")

</div>

I upgrade my project from 4.15 to 4.16. Deleting the folders Binaries/Saved/Intermediate did the trick for me.  
I still had to rebuild the project files(right click on the \*.uproject file in your project folder) and I needed to upgrade the \*.cs build files to 4.16 standards though.  
Thanks for the advice!

---

<div class="post-metadata">

**Author:** ![vinstriano](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@vinstriano](https://forums.unrealengine.com/u/vinstriano)\
**Post date:** [May 27, 2018, 6:53pm UTC](https://forums.unrealengine.com/t/cannot-build-project-ubt-error/352380/10 "2018-05-27T18:53:04Z")

</div>

Thank you Keyleeeeee!!!

---

<div class="post-metadata">

**Author:** ![j\_a\_b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@j\_a\_b](https://forums.unrealengine.com/u/j_a_b)\
**Post date:** [December 21, 2020, 7:36pm UTC](https://forums.unrealengine.com/t/cannot-build-project-ubt-error/352380/11 "2020-12-21T19:36:20Z")

</div>

In my case, probably after some deleting/renaming of classes, there were two CPP files for the conflicting class. One was in the Private folder as it should be but the other was in the Public folder. This plus 's steps solved my problem.
