The documentation says <PROJECT_DIRECTORY>/Saved/UnrealBuildTool/BuildConfiguration.xml can be used for project specific settings. Alas it seems to be ignored.
UBT logs makes no mention of looking for the path and states it will be using the config in AppData/Roaming....
Log started at 08/13/2024 13:02:46 (2024-08-13T12:02:46Z)
No config file at C:\ProgramData\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml
No config file at C:\Users\dazza\AppData\Local\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml
No config file at C:\Users\dazza\Documents\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml
Configuration will be read from:
C:\Users\dazza\AppData\Roaming\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml
difference between appdata/roaming/ and saved/ sounds like difference between paths used in shipping and development builds correspondingly. So i assume your log is from shipping build attempt
probably not related, but btw, i did try to modify some settings in saved/ and ended up with build step modifying the Default*.ini files directly before the build.
The log I quoted is from a Editor-Development build. I just tried in Game-Shipping and there is no difference. UBT still decides to use the BuildConfiguration.xml file in %APPDATA%.….…
It even creates an empty configuration file in APPDATA if I delete it and then decides to use it.
All I am trying to do is disable warning from the toolchain
I also believe there’s some issue about the BuildConfig.xml locations.
If I check the requests to this file with Process Monitor, I see requests only to:
My Documents/Unreal Engine/UnrealBuildTool/BuildConfiguration.xml
But never to:
<PROJECT_DIRECTORY>/Saved/UnrealBuildTool/BuildConfiguration.xml
And I would prefer to store all the build configuration stuff under the project folder.