# Error MSB3073: Exited with Code 3

**URL:** <https://forums.unrealengine.com/t/error-msb3073-exited-with-code-3/277989>\
**Category:** Pipeline & Plugins\
**Tags:** error, build, unreal-engine, Visual-Studio, CPP, question\
**Created:** [March 23, 2014, 12:18am UTC](https://forums.unrealengine.com/t/error-msb3073-exited-with-code-3/277989 "2014-03-23T00:18:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nate222](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nate222](https://forums.unrealengine.com/u/Nate222)\
**Post date:** [March 23, 2014, 12:18am UTC](https://forums.unrealengine.com/t/error-msb3073-exited-with-code-3/277989/1 "2014-03-23T00:18:32Z")

</div>

Thanks in advance for any assistance.

My problem is in Visual Studio 2013 when I attempt to build the UE4 project. I’m getting the error:

```
Error	6	error MSB3073: The command "..\..\Build\BatchFiles\Build.bat UE4Editor Win64 Development" exited with code 3.	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets	38	5	UE4

```

I have a fresh clone of the UE4 solution. I downloaded the 2 supplemental zip files and unzipped them into the UnrealEngine folder. I ran the GenerateProjectFiles.bat successfully with no errors. I launch into VS2013 as administrator, set it to ‘Development Editor’ ‘Win64’, right-click UE4 project and select build. I have a screenshot of what I’m seeing in the editor (the green outline is mine to indicate where the cursor was going when double clicking on the error):

 ![2069-ue4_vs2013_builderror_20140322.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/8/8/088e0a68abd94e22be177119cca4ae058ba00231.png)

---

<div class="post-metadata">

**Author:** ![Jamie\_Dale](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jamie_dale/32/1165413_2.png) [@Jamie\_Dale](https://forums.unrealengine.com/u/Jamie_Dale)\
**Post date:** [March 23, 2014, 12:20am UTC](https://forums.unrealengine.com/t/error-msb3073-exited-with-code-3/277989/2 "2014-03-23T00:20:35Z")

</div>

Unfortunately the error list sometimes gives useless information when build commands fail; this is one of those cases.

Does the Output window show any more information relating to the error? It often lists the complete output from the command which failed.

---

<div class="post-metadata">

**Author:** ![Nate222](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nate222](https://forums.unrealengine.com/u/Nate222)\
**Post date:** [March 23, 2014, 12:31am UTC](https://forums.unrealengine.com/t/error-msb3073-exited-with-code-3/277989/3 "2014-03-23T00:31:11Z")

</div>

1\>------ Build started: Project: UE4, Configuration: Development\_Editor x64 ------  
1\> The system cannot find the path specified.  
1\>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command “…\Build\BatchFiles\Build.bat UE4Editor Win64 Development” exited with code 3.  
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========

Clicking the error takes me to this file:

```
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets
```

---

<div class="post-metadata">

**Author:** ![Nate222](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nate222](https://forums.unrealengine.com/u/Nate222)\
**Post date:** [March 23, 2014, 12:57am UTC](https://forums.unrealengine.com/t/error-msb3073-exited-with-code-3/277989/4 "2014-03-23T00:57:42Z")

</div>

Well it must be a path issue. I manually launch the UEBuildTool.exe with the appropriate parameters and it seems to be building fine. Weird.

---

<div class="post-metadata">

**Author:** ![Jamie\_Dale](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jamie_dale/32/1165413_2.png) [@Jamie\_Dale](https://forums.unrealengine.com/u/Jamie_Dale)\
**Post date:** [March 23, 2014, 1:02am UTC](https://forums.unrealengine.com/t/error-msb3073-exited-with-code-3/277989/5 "2014-03-23T01:02:13Z")

</div>

Yeah, it would be nice if the error told you what it was looking for ☹

Where is your UE4 installed to, and are you using VS2013 Express or Pro (or Ultimate)?

---

<div class="post-metadata">

**Author:** ![Mebourne](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mebourne](https://forums.unrealengine.com/u/Mebourne)\
**Post date:** [September 29, 2014, 4:58pm UTC](https://forums.unrealengine.com/t/error-msb3073-exited-with-code-3/277989/6 "2014-09-29T16:58:54Z")

</div>

I’m receiving the same exact error on completing a fresh install of 4.4.3. May I ask if you found the path solution?

I’m running VS2013 Pro Update 4 CT2. Old 4.2 was running fine. Just deleted the whole unreal folder and re-did all the downloads multiple times. Nothing is getting rid of this build error.

1\>------ Build started: Project: UE4, Configuration: Debug\_Editor x64 ------  
1\> The system cannot find the path specified.  
1\>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command “…\Build\BatchFiles\Build.bat UE4Editor Win64 Debug” exited with code 3.  
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========

---

<div class="post-metadata">

**Author:** ![Mebourne](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mebourne](https://forums.unrealengine.com/u/Mebourne)\
**Post date:** [September 29, 2014, 5:27pm UTC](https://forums.unrealengine.com/t/error-msb3073-exited-with-code-3/277989/7 "2014-09-29T17:27:02Z")

</div>

Was able to build via batch.bat in cmd with “UE4Editor Win64 Development” arguments, but it sure would be nice to build inside VS.

Just double checked the NMake build directly and it seems to point correctly.

From Project File → Located in Engine\Intermediate\ProjectFiles  
NMake is looking for `..\..\Build\BatchFiles\Build.bat UE4Editor Win64 Development`
