# UnrealBuildTool Failed to Compile

**URL:** <https://forums.unrealengine.com/t/unrealbuildtool-failed-to-compile/286079>\
**Category:** C++\
**Tags:** build-project-files, unreal-engine, unrealbuildtool, editor, CPP, question\
**Created:** [June 17, 2014, 2:58am UTC](https://forums.unrealengine.com/t/unrealbuildtool-failed-to-compile/286079 "2014-06-17T02:58:37Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kybe\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kybe\_1](https://forums.unrealengine.com/u/Kybe_1)\
**Post date:** [June 17, 2014, 2:58am UTC](https://forums.unrealengine.com/t/unrealbuildtool-failed-to-compile/286079/1 "2014-06-17T02:58:37Z")

</div>

The UnrealBuildTool.exe is missing from “UESource\Engine\Binaries\DotNET”

![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/6/5/9651db803ed03f279d54f77f3b44393f0ab82dc2.png)

---

<div class="post-metadata">

**Author:** ![hsrob1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hsrob1](https://forums.unrealengine.com/u/hsrob1)\
**Post date:** [June 20, 2014, 4:11am UTC](https://forums.unrealengine.com/t/unrealbuildtool-failed-to-compile/286079/2 "2014-06-20T04:11:11Z")

</div>

I am running into this problem as well… Anybody?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b666e59e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b666e59e](https://forums.unrealengine.com/u/anonymous_user_b666e59e)\
**Post date:** [June 20, 2014, 4:05pm UTC](https://forums.unrealengine.com/t/unrealbuildtool-failed-to-compile/286079/3 "2014-06-20T16:05:08Z")

</div>

Hi ,

Did this error occur when you tried to run the GenerateProjectFiles.bat file after downloading the source code? Could you please try re-downloading the dependency files for the version you are trying to build to make sure none of those files were corrupted?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b666e59e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b666e59e](https://forums.unrealengine.com/u/anonymous_user_b666e59e)\
**Post date:** [July 10, 2014, 10:55pm UTC](https://forums.unrealengine.com/t/unrealbuildtool-failed-to-compile/286079/4 "2014-07-10T22:55:15Z")

</div>

Hi ,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you.

---

<div class="post-metadata">

**Author:** ![DoctorWhy\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DoctorWhy\_1](https://forums.unrealengine.com/u/DoctorWhy_1)\
**Post date:** [August 8, 2014, 7:16pm UTC](https://forums.unrealengine.com/t/unrealbuildtool-failed-to-compile/286079/5 "2014-08-08T19:16:23Z")

</div>

I am currently running into that problem. Yes, it happened with the GenerateProjectFiles.bat. I have tried redownloading the dependencies, but that didn’t help. I then opened up the \UnrealEngine\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.csproj and tried to compile, and that error “Could not copy the file “obj\Debug\UnrealBuildTool.exe” because it was not found” came up. I am using the 4.3 branch.

EDIT: Solved by turning off my anti-virus.

---

<div class="post-metadata">

**Author:** ![VatsalyaYadav](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@VatsalyaYadav](https://forums.unrealengine.com/u/VatsalyaYadav)\
**Post date:** [June 3, 2023, 10:56pm UTC](https://forums.unrealengine.com/t/unrealbuildtool-failed-to-compile/286079/6 "2023-06-03T22:56:36Z")

</div>

If you are running in DotNet errors I found a fix by deleting `NuGet.config` from `C:\Users\<Your username here>\AppData\Roaming\NuGet` and re-running the `GenerateProjectFiles.bat`.

---

<div class="post-metadata">

**Author:** ![rushabhC](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rushabhc/32/912566_2.png) [@rushabhC](https://forums.unrealengine.com/u/rushabhC)\
**Post date:** [October 25, 2024, 3:36pm UTC](https://forums.unrealengine.com/t/unrealbuildtool-failed-to-compile/286079/7 "2024-10-25T15:36:09Z")

</div>

this worked for me. Thanks
