UnrealLink build Error NU1903 with UE5.6 build from source code
The following appear everytime i try to install the plugin into the engine.
Running AutomationTool...
Using bundled DotNet SDK version: 8.0.300 win-x64
Building AutomationTool...
[discpath]\Engine\Source\Programs\AutomationTool\AutomationTool.csproj : warning NU1903: Package 'Magick.NET-Q16-HDRI-AnyCPU' 14.0.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-vmhh-8rxq-fp9g
[discpath]\Engine\Source\Programs\AutomationTool\Gauntlet\Gauntlet.Automation.csproj : error NU1903: Warnung als Fehler: Das Paket "Magick.NET-Q16-HDRI-AnyCPU" 14.0.0 weist eine bekannte hoch Schweregrad-Sicherheitsanfälligkeit auf, https://github.com/advisories/GHSA-vmhh-8rxq-fp9g.
[discpath]\Engine\Source\Programs\AutomationTool\AutomationTool.csproj]
[discpath]\Engine\Source\Programs\AutomationTool\AutomationUtils\AutomationUtils.Automation.csproj : error NU1903: Warnung als Fehler: Das Paket "Magick.NET-Q16-HDRI-AnyCPU" 14.0.0 weist eine bekannte hoch Schweregrad-Sicherheitsanfälligkeit auf, https://github.com/advisories/GHSA-vmhh-8rxq-fp9g.
[discpath]\Engine\Source\Programs\AutomationTool\AutomationTool.csproj]
Fehler beim Buildvorgang.
[discpath]\Engine\Source\Programs\AutomationTool\AutomationTool.csproj : warning NU1903: Package 'Magick.NET-Q16-HDRI-AnyCPU' 14.0.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-vmhh-8rxq-fp9g
[discpath]\Engine\Source\Programs\AutomationTool\Gauntlet\Gauntlet.Automation.csproj : error NU1903: Warnung als Fehler: Das Paket "Magick.NET-Q16-HDRI-AnyCPU" 14.0.0 weist eine bekannte hoch Schweregrad-Sicherheitsanfälligkeit auf, https://github.com/advisories/GHSA-vmhh-8rxq-fp9g.
[discpath]\Engine\Source\Programs\AutomationTool\AutomationTool.csproj]
[discpath]\Engine\Source\Programs\AutomationTool\AutomationUtils\AutomationUtils.Automation.csproj : error NU1903: Warnung als Fehler: Das Paket "Magick.NET-Q16-HDRI-AnyCPU" 14.0.0 weist eine bekannte hoch Schweregrad-Sicherheitsanfälligkeit auf, https://github.com/advisories/GHSA-vmhh-8rxq-fp9g. [[discpath]\Engine\Source\Programs\AutomationTool\AutomationTool.csproj]
1 Warnung(en)
2 Fehler
Verstrichene Zeit 00:00:01.24
RunUAT ERROR: AutomationTool failed to compile.
RunUAT.bat ERROR: AutomationTool failed to compile.
BUILD FAILED
Failed to build RiderLink plugin for E:\UE_Source\UE_5.6.0
Failed to build RiderLink plugin
Please sign in to leave a comment.
This problem seems to be on Unreal's end due to the ImageMagick vulnerability that was reported 2 weeks ago. It also prevents creating a packaged build, so not just UnrealLink that is affected.
Until ImageMagic fixes the vulnerability, or Epic provides a fix to suppress the warning, we will need to work around the problem by making changes to the engine source.
I can build on development configuration by making the following changes to unreal engine files:
add line in AutomationTool.csproj (I added this at line 30):
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
edit line 16 in Gauntlet.Automation.csproj:
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
edit line 13 in AutomationUtils.Automation.csproj:
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
Alcornwill Thank you, worked for me.
Alcornwill Thank you