Horde: Failure to finish Incremental Build with Access Denied Error

Hello!

For testing purposes we are trying to deploy Unreal Horde (And Unreal Horde Agent ) onto the same machine, to setup an Incremental Build System

We have finished the basic configuration, Horde is succesfully connected to our local / self-hosted perforce server and it can succesfully pull the build and engine files following epic guidelines

However once we reach the Compilation step (Compiling Tools (Project name here ), It constantly fails with the error message

Unhandled exception: UnauthorizedAccessException: Access to the path ‘C:\HordeAgent\Sandbox\Demo-Inc\Sync\Engine\Plugins\Messaging\TcpMessaging\Binaries\Win64\UnrealPak.modules’ is denied.

The file in question DOES exist in our perforce repo, however its set to +w so its always writable in any workspace

We are running HordeServer and HordeAgent under an Administrator account with full control over the files and folders

We have tried to disable built in ( Windows Defender ) Anti-Virus, removing the files from the repo but the issue persists

Any help would be tremendously appreciated, Thanks!

Steps to Reproduce

Hey there Alvaro,

UnrealPak.modules likely shouldn’t be checked in as it’s’ a generated file (a build receipt, in Unreal parlance). This is fundamentally what will be causing the issue here.

Kind regards,

Julian