FastBuild UE5.1 VS2022 error

I was building unreal engine 5.1 using VS2022 with FastBuild Enable;But what i got is Remote System failure with error C1083:Cannot open compiler generated file ‘…\Plugins\Animation\RigLogic\Intermediate\Build\Win64\UnrealEditor\Development\RigLogicLibTest\ArenaMemoryResource.cpp.dep.json’: No such file or directory;And my remote build compute are not received the build info.The computer is not working even thought my compiler send the message.Is there any ways can fix this problem?

1 Like

Hi, I had a similar error and changing FastBuild version to 1.07 fixed it.

1 Like

But Unreal seems change the fastbuild source code to achieve Shader compile.I dont`t know were you change the source code or not.Did 1.07 version official version work with unreal engine well?

It would be great if one of you could create a guide to get UE 5.X to work with FASTBuild. Im trying but so far I’m very confused as there are many outdated sources.

1 Like

Hello, I know that the post was created for a long time, but I had the same problem and I was able to fix it.

The problem (error C1083:Cannot open compiler generated file ‘….dep.json’: No such file or directory) occurs because the remote worker is trying to open a file that does not exist. In short, it caused by next MSVC compile arguments: /sourceDependencies and /experimental:log

How to fix: add the arguments into SpecialCompilerOptions and they will be removed

// FASTBuild.cs
private void AddCompileAction(LinkedAction Action, IEnumerable<LinkedAction> DependencyActions, ILogger Logger)
{
...
string[] SpecialCompilerOptions = { "/Fo", "/fo", "/Yc", "/Yu", "/Fp", "-o", "-dependencies=", "-compiler=", "/sourceDependencies", "/experimental:log" };
...
}