# I have issues building the C++ projects for security errors.

**URL:** <https://forums.unrealengine.com/t/i-have-issues-building-the-c-projects-for-security-errors/2658650>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, bug-report, question, CPP\
**Created:** [September 21, 2025, 1:34pm UTC](https://forums.unrealengine.com/t/i-have-issues-building-the-c-projects-for-security-errors/2658650 "2025-09-21T13:34:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![3oltan3](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3oltan3/32/892808_2.png) [@3oltan3](https://forums.unrealengine.com/u/3oltan3)\
**Post date:** [September 21, 2025, 1:34pm UTC](https://forums.unrealengine.com/t/i-have-issues-building-the-c-projects-for-security-errors/2658650/1 "2025-09-21T13:34:39Z")

</div>

For some reason, my project started to drop errors on build in Visual Studio. Here are the main issues from logs:

```auto
43>C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\Gauntlet\Gauntlet.Automation.csproj : error NU1902: Warning As Error: Package 'Magick.NET-Q16-HDRI-AnyCPU' 14.7.0 has a known moderate severity vulnerability, https://github.com/advisories/GHSA-6hgw-6x87-578x
43>C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\Gauntlet\Gauntlet.Automation.csproj : error NU1903: Warning As Error: Package 'Magick.NET-Q16-HDRI-AnyCPU' 14.7.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-9ccg-6pjw-x645
43>C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\Gauntlet\Gauntlet.Automation.csproj : error NU1903: Warning As Error: Package 'Magick.NET-Q16-HDRI-AnyCPU' 14.7.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-cjc8-g9w8-chfw
43>C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\Gauntlet\Gauntlet.Automation.csproj : error NU1901: Warning As Error: Package 'Magick.NET-Q16-HDRI-AnyCPU' 14.7.0 has a known low severity vulnerability, https://github.com/advisories/GHSA-fh55-q5pj-pxgw
43>C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\Gauntlet\Gauntlet.Automation.csproj : error NU1903: Warning As Error: Package 'Magick.NET-Q16-HDRI-AnyCPU' 14.7.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-mxvv-97wh-cfmm
43>C:\Program Files\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\Gauntlet\Gauntlet.Automation.csproj : error NU1903: Warning As Error: Package 'Magick.NET-Q16-HDRI-AnyCPU' 14.7.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-qp29-wxp5-wh82
43>Done building project "Gauntlet.Automation.csproj" -- FAILED.

```

I was trying to figure it out, but this repeats even for blank projects started from scratch.

I updated the Visual Studio to the latest version not that long ago; that may be the only difference that I can think of that might have caused it, but I rolled back the version, and the build error persists.

Any ideas?

---

<div class="post-metadata">

**Author:** ![LemontreeSoftworks](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lemontreesoftworks/32/1097595_2.png) [@LemontreeSoftworks](https://forums.unrealengine.com/u/LemontreeSoftworks)\
**Post date:** [September 21, 2025, 2:14pm UTC](https://forums.unrealengine.com/t/i-have-issues-building-the-c-projects-for-security-errors/2658650/2 "2025-09-21T14:14:30Z")

</div>

There seems to be an outdated dependency in there.

As a workaround, edit the the .csproj file (C:\Program Files\Epic Games\UE\_5.6\Engine\Source\Programs\AutomationTool\Gauntlet\Gauntlet.Automation.csproj) and change `<WarningsNotAsErrors>612,618</WarningsNotAsErrors>`, to `<WarningsNotAsErrors>612,618,1901,1902,1903</WarningsNotAsErrors>`

or

`<TreatWarningsAsErrors>true</TreatWarningsAsErrors>`

to

`<TreatWarningsAsErrors>false</TreatWarningsAsErrors>`

---

<div class="post-metadata">

**Author:** ![3oltan3](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3oltan3/32/892808_2.png) [@3oltan3](https://forums.unrealengine.com/u/3oltan3)\
**Post date:** [September 21, 2025, 2:33pm UTC](https://forums.unrealengine.com/t/i-have-issues-building-the-c-projects-for-security-errors/2658650/3 "2025-09-21T14:33:25Z")

</div>

Yeah, I was thinking about this, but why this appeared, and is there a way to fix the thing that causes warnings, maybe?

---

<div class="post-metadata">

**Author:** ![nande](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nande/32/1057698_2.png) [@nande](https://forums.unrealengine.com/u/nande)\
**Post date:** [September 21, 2025, 11:20pm UTC](https://forums.unrealengine.com/t/i-have-issues-building-the-c-projects-for-security-errors/2658650/4 "2025-09-21T23:20:12Z")

</div>

this is a known issue, there’s a couple of posts in the forum addressing this.

this is addressed by epic on 5.6.1. you can see it on the github.

if you have a source copy of the engine, you would want to pull the changes.

i would have thought that obtaining 5.6.1 from the installer would fix it.

---

<div class="post-metadata">

**Author:** ![3oltan3](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3oltan3/32/892808_2.png) [@3oltan3](https://forums.unrealengine.com/u/3oltan3)\
**Post date:** [September 23, 2025, 12:26pm UTC](https://forums.unrealengine.com/t/i-have-issues-building-the-c-projects-for-security-errors/2658650/5 "2025-09-23T12:26:04Z")

</div>

I am currently on 5.6.1; maybe it will be fixed in the next release, I will check that.

---

<div class="post-metadata">

**Author:** ![nande](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nande/32/1057698_2.png) [@nande](https://forums.unrealengine.com/u/nande)\
**Post date:** [September 23, 2025, 9:18pm UTC](https://forums.unrealengine.com/t/i-have-issues-building-the-c-projects-for-security-errors/2658650/6 "2025-09-23T21:18:26Z")

</div>

try integrating these changes

> [@Knowledge Base: Tech Note: Errors when compiling the Unreal Automation Tool in 5.6](https://forums.unrealengine.com/t/knowledge-base-tech-note-errors-when-compiling-the-unreal-automation-tool-in-5-6/2651216):
>
> We have identified errors when compiling the UAT and have found a solution. [https://dev.epicgames.com/community/learning/knowledge-base/DBLR/unreal-engine-tech-note-errors-when-compiling-the-unreal-automation-tool-in-5-6](https://dev.epicgames.com/community/learning/knowledge-base/DBLR/unreal-engine-tech-note-errors-when-compiling-the-unreal-automation-tool-in-5-6)

or follow this [How to fix the "Magick" 14.7.0 bug in source build engines in UE5.6.1](https://forums.unrealengine.com/t/how-to-fix-the-magick-14-7-0-bug-in-source-build-engines-in-ue5-6-1/2654730)
