Integrity tool fails when -target_game_dir is UNC path.

As part of the automation process, we store packaged builds on NAS. If I run an integrity toll for the packaged build stored on NAS it fails. If the same packaged build is on local path it works.

The line:

[Warn] Failed to glob path ‘\bs\JenkinsBuilds\TestMyGame\PackageBuilds\Unknown\MyGame-CL-0\WindowsClient\Packages\EasyAntiCheat\Certificates\base.*’ (Error -2).

is different when running with a local path:

[Warn] The following did not match any files, consider removing it: ‘D:\Test\PackageBuilds\Unknown\MyGame-CL-0\WindowsClient\Packages\EasyAntiCheat\Certificates\base.*’.

Here is the full log:

C:\Dev\MyGame\Engine\Plugins\Studio\Core\Tools\EOS_AntiCheatTools-win32-x64-2.1.0\devtools(MyGame/EasyAnti-Cheat -> origin)
λ anticheat_integritytool.exe -productid **********MyGame********** -inkey \\bs\JenkinsBuilds\InterityToolTest\base_private.key -incert \\bs\JenkinsBuilds\InterityToolTest\base_public.cer "-target_game_dir" "\\bs\JenkinsBuilds\TestMyGame\PackageBuilds\Unknown\MyGame-CL-0\WindowsClient\Packages" C:\Dev\MyGame/Engine/Plugins/Studio/Core/Tools/EOS_AntiCheatTools-win32-x64-2.1.0/devtools/anticheat_integritytool.cfg
Anti-Cheat Integrity Tool v2.2.0 Copyright (C) Epic Games, Inc.

[Info] Provided command line arguments:
[Info]   arg[0]: anticheat_integritytool.exe
[Info]   arg[1]: -productid
[Info]   arg[2]: **********MyGame**********
[Info]   arg[3]: -inkey
[Info]   arg[4]: \\bs\JenkinsBuilds\InterityToolTest\base_private.key
[Info]   arg[5]: -incert
[Info]   arg[6]: \\bs\JenkinsBuilds\InterityToolTest\base_public.cer
[Info]   arg[7]: -target_game_dir
[Info]   arg[8]: \\bs\JenkinsBuilds\TestMyGame\PackageBuilds\Unknown\MyGame-CL-0\WindowsClient\Packages
[Info]   arg[9]: C:\Dev\MyGame/Engine/Plugins/Studio/Core/Tools/EOS_AntiCheatTools-win32-x64-2.1.0/devtools/anticheat_integritytool.cfg
[Info] Parsed EOS product id: '**********MyGame**********'.
[Info] Parsed private key filename: '\\bs\JenkinsBuilds\InterityToolTest\base_private.key'.
[Info] Parsed certificate filename: '\\bs\JenkinsBuilds\InterityToolTest\base_public.cer'.
[Info] Parsed target game directory: '\\bs\JenkinsBuilds\TestMyGame\PackageBuilds\Unknown\MyGame-CL-0\WindowsClient\Packages'.
[Info] Generating signed integrity files for: '\\bs\JenkinsBuilds\TestMyGame\PackageBuilds\Unknown\MyGame-CL-0\WindowsClient\Packages'.
[Info] Using '\\bs\JenkinsBuilds\TestMyGame\PackageBuilds\Unknown\MyGame-CL-0\WindowsClient\Packages\' as working directory.
[Info] Generating the game's main catalogue alongside the associated folder structure.
[Info] Using config version: 2.
[Warn] Failed to glob path '\bs\JenkinsBuilds\TestMyGame\PackageBuilds\Unknown\MyGame-CL-0\WindowsClient\Packages\EasyAntiCheat\Certificates\base.*' (Error -2).
[Warn] The following did not match any files, consider removing it: '\bs\JenkinsBuilds\TestMyGame\PackageBuilds\Unknown\MyGame-CL-0\WindowsClient\Packages\EasyAntiCheat\Licenses'.
[Warn] The following did not match any files, consider removing it: '\bs\JenkinsBuilds\TestMyGame\PackageBuilds\Unknown\MyGame-CL-0\WindowsClient\Packages\EasyAntiCheat\Localization'.
[Warn] The following did not match any files, consider removing it: '\bs\JenkinsBuilds\TestMyGame\PackageBuilds\Unknown\MyGame-CL-0\WindowsClient\Packages\Mono\etc'.
[Warn] The following did not match any files, consider removing it: '\bs\JenkinsBuilds\TestMyGame\PackageBuilds\Unknown\MyGame-CL-0\WindowsClient\Packages\logs'.
[Warn] The following did not match any files, consider removing it: '\bs\JenkinsBuilds\TestMyGame\PackageBuilds\Unknown\MyGame-CL-0\WindowsClient\Packages\screenshots'.
[Warn] The following did not match any files, consider removing it: '\bs\JenkinsBuilds\TestMyGame\PackageBuilds\Unknown\MyGame-CL-0\WindowsClient\Packages\updates'.
[Warn] The following did not match any files, consider removing it: '\bs\JenkinsBuilds\TestMyGame\PackageBuilds\Unknown\MyGame-CL-0\WindowsClient\Packages\Engine\Content'.
[Warn] The following did not match any files, consider removing it: '\bs\JenkinsBuilds\TestMyGame\PackageBuilds\Unknown\MyGame-CL-0\WindowsClient\Packages\MyGame\Content\Movies'.
[Warn] The following did not match any files, consider removing it: '\bs\JenkinsBuilds\TestMyGame\PackageBuilds\Unknown\MyGame-CL-0\WindowsClient\Packages\MyGame\Content\Paks'.
[Warn] The following did not match any files, consider removing it: '\bs\JenkinsBuilds\TestMyGame\PackageBuilds\Unknown\MyGame-CL-0\WindowsClient\Packages\MyGame\Saved'.
[Warn] exclude_paths was specified but did not match any files.
[Info] Successfully verified the certificate for product ID: **********MyGame**********

[Info] =======================================
[Info] The following configuration will be used by clients with the file present:
[Info] Anti-cheat client configuration:
[Info]   Version: 1
[Info]   Maximum amount of active client instances: 1
[Info]   Crash reporter name: CrashReportClient.exe
[Info]   Game binary anti tamper solution: None
[Info] Anti-cheat client-side configuration file was successfully created: '\\bs\JenkinsBuilds\TestMyGame\PackageBuilds\Unknown\MyGame-CL-0\WindowsClient\Packages\EasyAntiCheat\Certificates\MyGame.conf'.
[Info] =======================================

[Err!] [Error] Inaccessible file: 'EasyAntiCheat\Certificates\base.cer'.
[Err!] No catalogue file was created. Code 8 (CatalogueIOError).
[Info] [Success] Certificate copied: \\bs\JenkinsBuilds\TestMyGame\PackageBuilds\Unknown\MyGame-CL-0\WindowsClient\Packages\EasyAntiCheat\Certificates\base.cer

Thank you for reporting this. I’ve passed the report on to the game security team who will investigate the possibility of supporting network drives in the future.