# Source code builded engine, packaging issue 

**URL:** <https://forums.unrealengine.com/t/source-code-builded-engine-packaging-issue/2681511>\
**Category:** Pipeline & Plugins\
**Tags:** unreal-engine, Epic-Pro-Support, question\
**Created:** [October 31, 2025, 2:49pm UTC](https://forums.unrealengine.com/t/source-code-builded-engine-packaging-issue/2681511 "2025-10-31T14:49:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [October 31, 2025, 2:49pm UTC](https://forums.unrealengine.com/t/source-code-builded-engine-packaging-issue/2681511/1 "2025-10-31T14:49:46Z")

</div>

We needed to build the engine from source to apply some modification(related to other issue) but got stuck on the custom build. Following the documention we download & install the engine(5.6.1-release tag on github) and build it succesfully. But when the project is opened using this engine version, the engine claims that “Windows SDK is not setup”(see the attached screen). When trying to package the porcess fails, produsing error log where the build fails with multiple errors, like this :

..Engine\Source\Programs\AutomationTool\AutomationUtils\AutomationUtils.Automation.csproj : error NU1903: Warning As Error: Package ‘[Magick.NET](http://Magick.NET)-Q16-HDRI-AnyCPU’ 14.7.0 has a known high severity vulnerability, [https://github.com/advisories/GHSA\-9ccg\-6pjw\-x645](https://github.com/advisories/GHSA%5C-9ccg%5C-6pjw%5C-x645) [D:\_Engine5.6\Engine\Source\Programs\Shared\EpicGames.ScriptBuild\EpicGames.ScriptBuild.csproj]

We tried to download the “correct” sdk version, different VS version, dotNet, etc. Basically following up on some forum thread that seems to have similar issue:

> [@Can’t solve this problem. This solution contains packages with vulnerabilities. Manage NuGet Packages](https://forums.unrealengine.com/t/can%5C-t%5C-solve%5C-this%5C-problem%5C-this%5C-solution%5C-contains%5C-packages%5C-with%5C-vulnerabilities%5C-manage%5C-nuget%5C-packages/2113908/3):
>
> Yeah sure.

> [@Build UE 5 Source NuGet Vulnerability Warning, Errors, Fails](https://forums.unrealengine.com/t/build%5C-ue%5C-5%5C-source%5C-nuget%5C-vulnerability%5C-warning%5C-errors%5C-fails/2445858):
>
> “This solution contains packages with vulnerabilities. Manage NuGet Packages" Installing UE5.4 from source. Setup.bat \> GenerateFiles.bat \> project.sh file \> set Development / Win64 Warning message on the top right leading to Nuget packages manager. Installing, updating, or uninstalling these Nuget packages in the manager don’t work. Also tried searching the packages via Edit \> Find & Replace \> manually changing the version number (ex: 6.0.3 manually replaced w/ 9.0.3). Don’t work built so…

but all the variations of the proposed solutions have failed. I was wondering, if this is some known issue and whats the best way to solve it? Thanks.

---

<div class="post-metadata">

**Author:** ![Patrick\_Laflamme](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/patrick_laflamme/32/1225277_2.png) [@Patrick\_Laflamme](https://forums.unrealengine.com/u/Patrick_Laflamme)\
**Post date:** [November 3, 2025, 3:48pm UTC](https://forums.unrealengine.com/t/source-code-builded-engine-packaging-issue/2681511/2 "2025-11-03T15:48:15Z")

</div>

Hi,

Few vulnerabilities in [Magick.Net](http://Magick.Net) were discovered since 5.6 release. We fixed it on UE5/Main, but you need to pick the fix yourself. It was fixed at CL 47492463. ([https://github.com/EpicGames/UnrealEngine/commit/f3c0b6508a9e1bfc233712fc10736c3698c69a24](https://github.com/EpicGames/UnrealEngine/commit/f3c0b6508a9e1bfc233712fc10736c3698c69a24)). You need update the Magick version in 3 files to 14.9.1. We implemented a change to prevent failing the ‘Development’ targets when a new vulnerability pops up. Shipping and Debug targets will still fail if there is a vulnerability, but you can still work with Development until you can fix the issue. I posted the change and the diff of the file here: [Content removed]

The Windows SDK is usually installed from Visual Studio Installer. The version you need can be found in _ **Engine/Config/Windows/Windows\_SDK.json** _ along with other versions that are expected. For the Windows SDK:

```auto
	"MainVersion": "10.0.22621.0",
	"MinVersion": "10.0.19041.0",
	"MaxVersion": "10.9.99999.0",

```

[Image Removed]

---

<div class="post-metadata">

**Author:** ![Patrick\_Laflamme](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/patrick_laflamme/32/1225277_2.png) [@Patrick\_Laflamme](https://forums.unrealengine.com/u/Patrick_Laflamme)\
**Post date:** [November 3, 2025, 3:51pm UTC](https://forums.unrealengine.com/t/source-code-builded-engine-packaging-issue/2681511/3 "2025-11-03T15:51:32Z")

</div>

Sorry I entered ctrl-enter and it posted before I was done… Once you have the Windows SDK installed, you will need to rebuild the Editor. I usually regenerate the Solution and I rebuild the UE5 project.

Regards,

Patrick

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [November 3, 2025, 5:13pm UTC](https://forums.unrealengine.com/t/source-code-builded-engine-packaging-issue/2681511/4 "2025-11-03T17:13:41Z")

</div>

Thanks for this Patrick we are looking into this now and will share updates after we test this!

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [November 4, 2025, 2:31pm UTC](https://forums.unrealengine.com/t/source-code-builded-engine-packaging-issue/2681511/5 "2025-11-04T14:31:32Z")

</div>

That did fix it, thank you
