UnrealBuildAccelerator issues with link and cache

Hi Julian,

Thanks for taking the time.

It’s good to know that AdditionalPluginDirectories work correctly, it’s one more reason for us to migrate towards this. However to be clear we are _not_ using it yet, as our patch does kind of the same thing.

I’ve compiled all UBA project in debug from UBA.sln, and get the same error when running what you asked.

`PS C:\dne\monorepo-preview\UE\Engine\Binaries\Win64\UnrealBuildAccelerator\x64> ./UbaCli.exe -workdir=C:\dne\monorepo-preview\UE\Engine\Source -cache=“192.168.3.127” local “C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\bin\Hostx64\x64\link.exe” @C:\dne\monorepo-preview\DNE\Plugins\Core\DNEAnimationCore\Intermediate\Build\Win64\x64\UnrealEditor\Development\DNEAnimationCoreRuntime\UnrealEditor-DNEAnimationCoreRuntime.dll.rsp
UbaCli v5.5.4-Uba_v1.0.0-0 (DEBUG) (Rootdir: “C:\ProgramData\Epic\UbaCli”, StoreCapacity: 20Gb)

UbaServer - Created in DEBUG
---- Starting trace: Debug ----
UbaClient (0aada7a7-cca7-481f-bde8-b063340818b3) - Connected to server… (0x0000048B94070290)
UbaClient (0aada7a7-cca7-481f-bde8-b063340818b3) - Connected to 192.168.3.127:17157 (f269faa9-ec91-4ad1-948d-d0817cb91664)
UbaStorageServer - Database loaded from C:\ProgramData\Epic\UbaCli\cas\casdb (v32) in <1ms (contained 0 entries estimated to 0b)
UbaCacheClient - PATH WITHOUT ROOT: (inside CmdKey C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\bin\Hostx64\x64\link.exe at offset 0)
Running C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\bin\Hostx64\x64\link.exe @C:\dne\monorepo-preview\DNE\Plugins\Core\DNEAnimationCore\Intermediate\Build\Win64\x64\UnrealEditor\Development\DNEAnimationCoreRuntime\UnrealEditor-DNEAnimationCoreRuntime.dll.rsp
LINK : fatal error LNK1168: cannot open C:\dne\monorepo-preview\DNE\Plugins\Core\DNEAnimationCore\Binaries\Win64\UnrealEditor-DNEAnimationCoreRuntime.dll for writing
Error exit code: 1168
UbaClient (0aada7a7-cca7-481f-bde8-b063340818b3) - Disconnected from server… (0x0000048B94070290) (0)`(had to run it from a VS Powershell prompt, otherwise linker fails because it’s not able to find mt.exe)