The name 'bFasterWithoutUnity' does not in the current context

Hello everyone. I wanted to speed up the compilation time in my project. I opened MyGameName.Build.cs and inserted the following code:

MinFilesUsingPrecompiledHeaderOverride = 1;
bFasterWithoutUnity = true;

Visual Studio throws the following error:

The name 'bFasterWithoutUnity' does not in the current context

What is the reason for this error?

Maybe someone can confirm if this var is still valid or not.

Here’s a collection of mostly correct ones:

Targets | Unreal Engine Documentation

I noticed “bUseUnityBuild” which should be bUseUnity. You can test if compilation is actually faster without it by setting that to false.

2 Likes

Thank you very much. It works :). I also found “bForceUnityBuild”, and now my code in MyGameNameEditorTarget.cs looks like this:

bUseUnityBuild = false;
bForceUnityBuild = false;

Compilation has accelerated