Cannot build engine from source

Hello everybody,

after some time I decided to update my forked UE4 engine because I needed new Steamworkd SDK (1.51).
I tried to build release branch but with little success. I get a lot of weird errors, specifically with Chaos.
I tried building with and without the Chaos, but still getting a lot of errors.

Things I tried:
In “UE4Editor.Target.cs” in Source folder of Engine i place:
bCompileChaos = true;
bUseChaos = true;

and also both to false…

In “HeadlessChaos.Target.cs” in Source folder of Engine i place:
bCompileChaos = true;
bUseChaos = true;
and also both to false…

With no success.
Don’t know what to do next.

Thanks in advance!

Without the specific errors, and without the specific environment and steps, it’s impossible to know what the problem is.

If you check out the engine from scratch, and build it, using the supplied scripts and instructions, does it work?
If you update these parameters in that checkout, and again uses the supplied scripts and instructions, does it work?

Yeah, you are right, sorry.

So I checked out engine from scratch, specifically “Release” branch. Ran “Setup.bat”, “GenerateProjectFiles.bat” and Build Engine in Visual Studio 2019.

Output of the build: LOG_READER.log (167.5 KB)
This is without any change.

These are last two commits in “Release branch”: image