# Build from Source Error MSB3073

**URL:** <https://forums.unrealengine.com/t/build-from-source-error-msb3073/510622>\
**Category:** Platform & Builds\
**Tags:** Builds, unreal-engine, question, UE4-27\
**Created:** [March 29, 2022, 1:32pm UTC](https://forums.unrealengine.com/t/build-from-source-error-msb3073/510622 "2022-03-29T13:32:18Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pseudocorpus](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pseudocorpus/32/453689_2.png) [@Pseudocorpus](https://forums.unrealengine.com/u/Pseudocorpus)\
**Post date:** [March 29, 2022, 1:32pm UTC](https://forums.unrealengine.com/t/build-from-source-error-msb3073/510622/1 "2022-03-29T13:32:18Z")

</div>

When I try to build UE from source (wether it being 4.27 or 5), an error pops up in Visual Studio which prevents the compilation from finishing. The error reads as follows:

```auto
|Severity|Code|Description|Project|File|Line|Suppression State|
|---|---|---|---|---|---|---|
|Error|MSB3073|The command ..\..\Build\BatchFiles\Build.bat -Target=UE4Editor Win64 Development -Target=ShaderCompileWorker Win64 Development -Quiet -WaitMutex -FromMsBuild exited with code 6.|UE4|F:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets|44||

```

I tried the following things so far:

- Switched from Visual Studio 2017 to 2019 and 2022
- Altered the PsAllocator.h in line 40 ("include ")
- Removed and moved the extra quotation mark in the Build Command line after “-Quiet”
- Removed the “ResonanceAudio” Folder
- Deleted the “VisualStudioDTE”

Nothing seems to work so far. Has anyone encountered this issue? Thanks in advance.

---

<div class="post-metadata">

**Author:** ![shiena](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/shiena/32/918683_2.png) [@shiena](https://forums.unrealengine.com/u/shiena)\
**Post date:** [April 21, 2022, 3:51pm UTC](https://forums.unrealengine.com/t/build-from-source-error-msb3073/510622/2 "2022-04-21T15:51:16Z")

</div>

I had a similar problem when rebuilding UE5.0.1.  
At that time, the following message was displayed in the output.

> 4\>------ ビルド開始: プロジェクト: UE5, 構成: Development\_Editor x64 ------  
> 4\>Using bundled DotNet SDK  
> 4\>Log file: G:\UnrealEngine\Engine\Programs\UnrealBuildTool\Log.txt  
> 4\>Using ‘git status’ to determine working set for adaptive non-unity build (G:\UnrealEngine).  
> 4\>Creating makefile for UnrealEditor (UnrealBuildTool assembly is newer)  
> 4\>Creating makefile for ShaderCompileWorker (UnrealBuildTool assembly is newer)  
> 4\>Building UnrealEditor and ShaderCompileWorker…  
> 4\>Using Visual Studio 2019 14.29.30143 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133) and Windows 10.0.18362.0 SDK (C:\Program Files (x86)\Windows Kits\10).  
> 4\>Determining max actions to execute in parallel (4 physical cores, 8 logical cores)  
> 4\> Executing up to 4 processes, one per physical core  
> 4\>Building 11 actions with 4 processes…  
> 4\>[1/11] Touch msado15.tlh  
> 4\>[1/11]Touch msado15.tlh - Error but no output  
> 4\>[1/11]Touch msado15.tlh - 1 G:\UnrealEngine\Engine\Source C:\WINDOWS\system32\cmd.exe /C “copy /b “G:\UnrealEngine\Engine\Plugins\Runtime\Database\ADOSupport\Intermediate\Build\Win64\UnrealEditor\Development\ADOSupport\msado15.tlh”+, “G:\UnrealEngine\Engine\Plugins\Runtime\Database\ADOSupport\Intermediate\Build\Win64\UnrealEditor\Development\ADOSupport\msado15.tlh” 1\>nul:”  
> 4\>[2/11] GenerateTLH dte80a.cpp  
> 4\>[3/11] Touch dte80a.tlh  
> 4\>[4/11] Compile Module.VisualStudioSourceCodeAccess.cpp  
> 4\>[5/11] Link UnrealEditor-VisualStudioSourceCodeAccess.lib  
> 4\> ライブラリ …\Plugins\Developer\VisualStudioSourceCodeAccess\Intermediate\Build\Win64\UnrealEditor\Development\VisualStudioSourceCodeAccess\UnrealEditor-VisualStudioSourceCodeAccess.lib とオブジェクト …\Plugins\Developer\VisualStudioSourceCodeAccess\Intermediate\Build\Win64\UnrealEditor\Development\VisualStudioSourceCodeAccess\UnrealEditor-VisualStudioSourceCodeAccess.exp を作成中  
> 4\>[6/11] Link UnrealEditor-VisualStudioSourceCodeAccess.dll  
> 4\> ライブラリ …\Plugins\Developer\VisualStudioSourceCodeAccess\Intermediate\Build\Win64\UnrealEditor\Development\VisualStudioSourceCodeAccess\UnrealEditor-VisualStudioSourceCodeAccess.suppressed.lib とオブジェクト …\Plugins\Developer\VisualStudioSourceCodeAccess\Intermediate\Build\Win64\UnrealEditor\Development\VisualStudioSourceCodeAccess\UnrealEditor-VisualStudioSourceCodeAccess.suppressed.exp を作成中  
> 4\>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets(44,5): error MSB3073: コマンド “…..\Build\BatchFiles\Build.bat -Target=“UnrealEditor Win64 Development” -Target=“ShaderCompileWorker Win64 Development -Quiet” -WaitMutex -FromMsBuild” はコード 6 で終了しました。  
> 4\>プロジェクト “UE5.vcxproj” のビルドが終了しました – 失敗。

In my case, I got an error in the following two folders, so I deleted it and rebuilt it successfully.

- Engine\Plugins\Runtime\Database\ADOSupport\Intermediate\Build\Win64\UnrealEditor\Development\ADOSupport
- Engine\Intermediate\Build\Win64\UnrealEditor\Development\VisualStudioDTE

---

<div class="post-metadata">

**Author:** ![waterswaterAhHa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@waterswaterAhHa](https://forums.unrealengine.com/u/waterswaterAhHa)\
**Post date:** [December 5, 2022, 8:48am UTC](https://forums.unrealengine.com/t/build-from-source-error-msb3073/510622/3 "2022-12-05T08:48:07Z")

</div>

Thank you. I solved the same problem

---

<div class="post-metadata">

**Author:** ![waterswaterAhHa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@waterswaterAhHa](https://forums.unrealengine.com/u/waterswaterAhHa)\
**Post date:** [December 5, 2022, 8:48am UTC](https://forums.unrealengine.com/t/build-from-source-error-msb3073/510622/4 "2022-12-05T08:48:29Z")

</div>

thanks

---

<div class="post-metadata">

**Author:** ![dqf318](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dqf318](https://forums.unrealengine.com/u/dqf318)\
**Post date:** [December 13, 2022, 4:05pm UTC](https://forums.unrealengine.com/t/build-from-source-error-msb3073/510622/5 "2022-12-13T16:05:08Z")

</div>

I looked and there wasn’t a VisualStudioDTE folder in my copy.

---

<div class="post-metadata">

**Author:** ![Zotya10171](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zotya10171](https://forums.unrealengine.com/u/Zotya10171)\
**Post date:** [January 6, 2023, 4:20am UTC](https://forums.unrealengine.com/t/build-from-source-error-msb3073/510622/6 "2023-01-06T04:20:30Z")

</div>

No luck any other idea?  
Build started…  
1\>------ Build started: Project: SurvivalGame, Configuration: Development\_Editor x64 ------  
1\>Running UnrealBuildTool: dotnet “…..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” SurvivalGameEditor Win64 Development -Project=“F:\C++ Unreal\SurvivalGame\SurvivalGame.uproject” -WaitMutex -FromMsBuild  
1\>Log file: C:\Users\fastf\AppData\Local\UnrealBuildTool\Log.txt  
1\>Creating makefile for SurvivalGameEditor (no existing makefile)  
1\>Parsing headers for SurvivalGameEditor  
1\> Running Internal UnrealHeaderTool “F:\C++ Unreal\SurvivalGame\SurvivalGame.uproject” “F:\C++ Unreal\SurvivalGame\Intermediate\Build\Win64\SurvivalGameEditor\Development\SurvivalGameEditor.uhtmanifest” -WarningsAsErrors -installed  
1\>F:\C++ Unreal\SurvivalGame\Source\SurvivalGame\Player\GASAttributeSet.h(18): warning : The identifier ‘GENERATED\_BODY’ was detected in a block being skipped. Was this intentional?  
1\>Total of 0 written  
1\>A:\VS\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets(44,5): error MSB3073: The command ““A:\HT Game\UE\_5.1\Engine\Build\BatchFiles\Build.bat” SurvivalGameEditor Win64 Development -Project=“F:\C++ Unreal\SurvivalGame\SurvivalGame.uproject” -WaitMutex -FromMsBuild” exited with code 6.  
1\>Done building project “SurvivalGame.vcxproj” – FAILED.  
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========  
========== Elapsed 00:02.804 ==========

---

<div class="post-metadata">

**Author:** ![thedo\_digb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@thedo\_digb](https://forums.unrealengine.com/u/thedo_digb)\
**Post date:** [January 6, 2023, 3:04pm UTC](https://forums.unrealengine.com/t/build-from-source-error-msb3073/510622/7 "2023-01-06T15:04:16Z")

</div>

Seems like I have a very similar or even the same problem, chipping in to keep the thread up and to be notified when a solution comes up.

I will notify you when I find a solution elsewhere or by myself.

---

<div class="post-metadata">

**Author:** ![ChakaPataPon](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/chakapatapon/32/602601_2.png) [@ChakaPataPon](https://forums.unrealengine.com/u/ChakaPataPon)\
**Post date:** [January 11, 2023, 1:43pm UTC](https://forums.unrealengine.com/t/build-from-source-error-msb3073/510622/9 "2023-01-11T13:43:38Z")

</div>

Build started…  
1\>------ Build started: Project: RetroFPS, Configuration: Development\_Editor x64 ------  
1\>Running UnrealBuildTool: dotnet “…..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” RetroFPSEditor Win64 Development -Project=“C:\Users\xxxx\Documents\UnrealProjects\RetroFPS\RetroFPS.uproject” -WaitMutex -FromMsBuild  
1\>Log file: C:\Users\xxxx\AppData\Local\UnrealBuildTool\Log.txt  
1\>Creating makefile for RetroFPSEditor (no existing makefile)  
1\>Parsing headers for RetroFPSEditor  
1\> Running Internal UnrealHeaderTool C:\Users\xxxx\Documents\UnrealProjects\RetroFPS\RetroFPS.uproject C:\Users\xxxx\Documents\UnrealProjects\RetroFPS\Intermediate\Build\Win64\RetroFPSEditor\Development\RetroFPSEditor.uhtmanifest -WarningsAsErrors -installed  
1\>C:\Users\xxxx\Documents\UnrealProjects\RetroFPS\Source\RetroFPS\RetroFPSAttributeSet.h(19): warning : The identifier ‘GENERATED\_BODY’ was detected in a block being skipped. Was this intentional?  
1\>Total of 0 written  
1\>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets(44,5): error MSB3073: The command “D:\Games\UE\_5.1\Engine\Build\BatchFiles\Build.bat RetroFPSEditor Win64 Development -Project=“C:\Users\xxxx\Documents\UnrealProjects\RetroFPS\RetroFPS.uproject” -WaitMutex -FromMsBuild” exited with code 6.  
1\>Done building project “RetroFPS.vcxproj” – FAILED.  
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========  
========== Elapsed 00:06.949 ==========

Helppppp

---

<div class="post-metadata">

**Author:** ![thedo\_digb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@thedo\_digb](https://forums.unrealengine.com/u/thedo_digb)\
**Post date:** [January 11, 2023, 4:19pm UTC](https://forums.unrealengine.com/t/build-from-source-error-msb3073/510622/10 "2023-01-11T16:19:58Z")

</div>

You have a whitespace in your directory structure, remove it and try building again.

---

<div class="post-metadata">

**Author:** ![ChakaPataPon](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/chakapatapon/32/602601_2.png) [@ChakaPataPon](https://forums.unrealengine.com/u/ChakaPataPon)\
**Post date:** [January 11, 2023, 8:38pm UTC](https://forums.unrealengine.com/t/build-from-source-error-msb3073/510622/11 "2023-01-11T20:38:46Z")

</div>

> [@thedo\_digb](#):
>
> pace in your directory structur

Where? maybe im blind sorry. "C:\Program Files\Microsoft Visual Studio" here? can you pinpoint it? sorry =o

---

<div class="post-metadata">

**Author:** ![thedo\_digb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@thedo\_digb](https://forums.unrealengine.com/u/thedo_digb)\
**Post date:** [January 13, 2023, 10:45am UTC](https://forums.unrealengine.com/t/build-from-source-error-msb3073/510622/12 "2023-01-13T10:45:36Z")

</div>

This should be fine, I wanted to answer to the other post - there, there is a whitespace in the project directory which can cause issues when building the project from VS.

---

<div class="post-metadata">

**Author:** ![ChakaPataPon](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/chakapatapon/32/602601_2.png) [@ChakaPataPon](https://forums.unrealengine.com/u/ChakaPataPon)\
**Post date:** [January 14, 2023, 11:29am UTC](https://forums.unrealengine.com/t/build-from-source-error-msb3073/510622/13 "2023-01-14T11:29:28Z")

</div>

Well that was not the issue… i still don’t know what was… I had to redo the project from scratch… same code… worked fine… lost some days for nothing probably a bug on VS.

---

<div class="post-metadata">

**Author:** ![fullpowerfantasy1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@fullpowerfantasy1](https://forums.unrealengine.com/u/fullpowerfantasy1)\
**Post date:** [February 23, 2023, 5:50pm UTC](https://forums.unrealengine.com/t/build-from-source-error-msb3073/510622/14 "2023-02-23T17:50:58Z")

</div>

I had this error. Regenerated the project files and it simply wouldn’t work. Upon inspection I found I’d accidently placed the letter “i” right before my comment block at the top which caused the error to be thrown. Fixed the typo and it solved the problem. Strange error to throw for a misplaced letter, but maybe it will help someone in case they made the same mistake.

---

<div class="post-metadata">

**Author:** ![user\_e792ae809be9a8c3592687a49510cdcfe25e6dab1ee35f0f6d5dea](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/user_e792ae809be9a8c3592687a49510cdcfe25e6dab1ee35f0f6d5dea/32/633877_2.png) [@user\_e792ae809be9a8c3592687a49510cdcfe25e6dab1ee35f0f6d5dea](https://forums.unrealengine.com/u/user_e792ae809be9a8c3592687a49510cdcfe25e6dab1ee35f0f6d5dea)\
**Post date:** [March 19, 2023, 11:01pm UTC](https://forums.unrealengine.com/t/build-from-source-error-msb3073/510622/15 "2023-03-19T23:01:57Z")

</div>

ohoh! it works! thank you!

---

<div class="post-metadata">

**Author:** ![Two\_Suns\_Studios](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Two\_Suns\_Studios](https://forums.unrealengine.com/u/Two_Suns_Studios)\
**Post date:** [June 5, 2023, 7:48am UTC](https://forums.unrealengine.com/t/build-from-source-error-msb3073/510622/16 "2023-06-05T07:48:12Z")

</div>

Man, I spent hours searching for this exact solution!  
Thank you for taking the time to post it 👑

---

<div class="post-metadata">

**Author:** ![ChakaPataPon](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/chakapatapon/32/602601_2.png) [@ChakaPataPon](https://forums.unrealengine.com/u/ChakaPataPon)\
**Post date:** [July 21, 2023, 10:52am UTC](https://forums.unrealengine.com/t/build-from-source-error-msb3073/510622/17 "2023-07-21T10:52:01Z")

</div>

What did you do exactly?!

---

<div class="post-metadata">

**Author:** ![SAFAD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SAFAD](https://forums.unrealengine.com/u/SAFAD)\
**Post date:** [July 26, 2023, 7:13pm UTC](https://forums.unrealengine.com/t/build-from-source-error-msb3073/510622/18 "2023-07-26T19:13:43Z")

</div>

Bless your heart!  
for anyone having this issue on 5.2.1 builds and working on custom shading models/playing with rendering and GBuffer this can happen for some reason.

Delete `Engine\Plugins\Runtime\Database\ADOSupport\Intermediate` and run the build and that should fix it.

---

<div class="post-metadata">

**Author:** ![AllGamesSuck](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AllGamesSuck](https://forums.unrealengine.com/u/AllGamesSuck)\
**Post date:** [June 19, 2024, 10:53pm UTC](https://forums.unrealengine.com/t/build-from-source-error-msb3073/510622/20 "2024-06-19T22:53:30Z")

</div>

Dumb freaking error. Nothing works.

---

<div class="post-metadata">

**Author:** ![Knuthnads](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Knuthnads](https://forums.unrealengine.com/u/Knuthnads)\
**Post date:** [December 2, 2025, 11:42am UTC](https://forums.unrealengine.com/t/build-from-source-error-msb3073/510622/21 "2025-12-02T11:42:03Z")

</div>

Same problem here. Trying to build 5.1 from source. Using Visual Studio 2022 (17.14.21). Build fails with error MSB3073. Tried deleting the two folders listed previously. Made no difference. Basically pulled the repo from github, ran Setup.bat, GenerateProjectFiles.bat, opened UE5.sln, and built. Not sure if this is a VS bug or if the source itself has issues.
