Download

BuildConfiguration.xml invalid child error

Hello! I’m new to UE4 and I want to improve my compile times as they do seem to take 1-7 minutes every time I make some changes. I read that you can modify your BuildConfiguration.xml file to do that. So I found mine under C:\Users<Username>\AppData\Roaming\Unreal Engine\UnrealBuildTool and I tweaked it to look like this:

  • <?xml version=“1.0” encoding=“utf-8” ?>
  • <Configuration xmlns=“https://www.unrealengine.com/BuildConfiguration”>
  • <BuildConfiguration>
  • <ProcessorCountMultiplier>2</ProcessorCountMultiplier>
  • </BuildConfiguration>
  • </Configuration>

But whenever I compile Visual Studio 2019 informs me: “warning : The element ‘BuildConfiguration’ in namespace ‘https://www.unrealengine.com/BuildConfiguration’ has invalid child element ‘ProcessorCountMultiplier’”. What am I doing wrong here?

Did you figure this out, having same issue…

Hi!!

In the docs look for LocalExecutor: Build Configuration | Unreal Engine Documentation

Under tag Configuration, place (adjusts to your needs):

For 4.17


<BuildConfiguration>
  <MaxProcessorCount>2</MaxProcessorCount>
  <ProcessorCountMultiplier>1</ProcessorCountMultiplier>
</BuildConfiguration>

For 4.19+


<LocalExecutor>
  <MaxProcessorCount>2</MaxProcessorCount>
  <ProcessorCountMultiplier>1</ProcessorCountMultiplier>
</LocalExecutor>