CheckForHacks.cs error CA2017 - BgScriptReader.cs error CS8604

I’m using Unreal 5.3.2.

Now, I don’t know why (because I haven’t modified anything), I’ve started to get these error messages:

C:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\AutomationTool\Scripts\CheckForHacks.cs(87,26,87,45): error CA2017: The number of parameters supplied in the log message template does not match the number of named placeholders (CA2017: Parameter count mismatch (code analysis) - .NET | Microsoft Learn)
Compilation of project “AutomationScripts.Automation.csproj” terminated – ERROR.
C:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\AutomationTool\BuildGraph\BgScriptReader.cs(1640,37,1640,42): error CS8604: Possible null reference argument for parameter “other” in “void HashSet.UnionWith(IEnumerable other)”.
Compilation of project “BuildGraph.Automation.csproj” terminated – ERROR.

Do you how can I fix them?

I’m using:
Microsoft Visual Studio Enterprise 2022 (64 bits) - Current
Version 17.10.1

Visual C++ 2022 00482-20500-77465-AA938
Microsoft Visual C++ 2022

1 Like

Read this, maybe it can help: Error compiling the Automation Tool after updating Visual Studio today (Unreal 5.3.2) - #6 by muggyshoT?

1 Like