# CheckForHacks.cs error CA2017 - BgScriptReader.cs error CS8604

**URL:** <https://forums.unrealengine.com/t/checkforhacks-cs-error-ca2017-bgscriptreader-cs-error-cs8604/1933714>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [July 11, 2024, 7:43am UTC](https://forums.unrealengine.com/t/checkforhacks-cs-error-ca2017-bgscriptreader-cs-error-cs8604/1933714 "2024-07-11T07:43:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ViaCognita](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/viacognita/32/906601_2.png) [@ViaCognita](https://forums.unrealengine.com/u/ViaCognita)\
**Post date:** [July 11, 2024, 7:43am UTC](https://forums.unrealengine.com/t/checkforhacks-cs-error-ca2017-bgscriptreader-cs-error-cs8604/1933714/1 "2024-07-11T07:43:17Z")

</div>

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](https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2017))  
> 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

---

<div class="post-metadata">

**Author:** ![yehu1999](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@yehu1999](https://forums.unrealengine.com/u/yehu1999)\
**Post date:** [November 14, 2024, 3:30pm UTC](https://forums.unrealengine.com/t/checkforhacks-cs-error-ca2017-bgscriptreader-cs-error-cs8604/1933714/2 "2024-11-14T15:30:02Z")

</div>

Read this, maybe it can help: [Error compiling the Automation Tool after updating Visual Studio today (Unreal 5.3.2) - #6 by muggyshoT](https://forums.unrealengine.com/t/error-compiling-the-automation-tool-after-updating-visual-studio-today-unreal-5-3-2/1393088/6)?
