I’ve encountered an issue while working with Unreal Engine versions 5.4 and 5.5. I am trying to use a function to modify the Engine.ini to change the RHI (Render Hardware Interface) settings for players. This works as expected in version 5.3, where the Engine.ini file is generated automatically in the Saved\Config\Windows directory. However, when I try the same approach in versions 5.4 and 5.5, the Engine.ini file doesn’t seem to be created at all, just the GameUserSettings.ini.
Is this a known bug or an intentional change in the behavior of how Unreal Engine handles configuration files in these newer versions? Are there any alternative methods for modifying the Engine.ini to change the RHI that work in 5.4 and 5.5?
Any guidance would be greatly appreciated. Thanks!
I was about to chime in on having the same issue but I decided to actually look at the change history for some of the config code in UE5’s GitHub and found this little gem:
Added system to only save config sections, to user Saved/Config files, that are opted in
Currently disabled, allowing people to test locally by setting a bool in Base.ini (affects all hierarchical configs)
And in Base.ini: (UE_5.4\Engine\Config\Base.ini)
; Base.ini is required to exist
; To always save all sections like before, set bCanSaveAllSections to true
; You can set this in a particular ini file as well, like BaseEngine.ini
; or add more Sections that you would like to be completely saved out
; See BaseEngine.ini for more examples
[SectionsToSave]
bCanSaveAllSections=false
Section=CurrentIniVersion
Changing bCanSaveAllSections to true will allow Unreal to save and allow edits in all default config files (Game, Engine, etc), even for packaged builds!
Honestly, I was about to write off 5.4 & 5.5 for good until I found this!