Developer Notes

This is by design.
The coalescedSourceConfig contains what is gathered from that inis base, default and platform ini files.
Options from the coalesced config will be used at runtime unless the user has changes in the Saved/*.ini which then ultimately overrides this.
Note, The coalescedsourceconfig is generated on each run.

Description

The settings .ini files for games packaged for windows appear to be getting overwritten with blank files whenever the game is run. Even if settings are added to the .ini files manually, the files become blank again the next time the game is run.

This appears to have been functioning as expected in version 4.4.3 (CL 2298372). The current behavior appeared in 4.5.0 (CL 2326468).

Steps to Reproduce
  1. Create a new code project using the First Person template.
  2. Build the project in Visual Studio.
  3. Add a DefaultGameUserSettings.ini file to the Config folder for your project (NOT the Saved/Config folder).
  4. Add the following settings to the GameUserSettings.ini file:
    [/Script/Engine.GameUserSettings]
    bUseVSync=False
    ResolutionSizeX=640
    ResolutionSizeY=960
    FullscreenMode=2
    WindowPosX=-1
    WindowPosY=-1
    
  5. Open the project in the Editor.
  6. Package the project for Win64.
  7. Open the location where the packaged game was created.
  8. Enter the WindowsNoEditor folder.
  9. Enter the folder containing the name of the project.
    • Note there is no Saved folder present.
  10. Run the packaged game.
  11. Close the game.
  12. Note that there is now a Saved folder inside the project folder in the packaged game location.
  13. Enter the Saved/Config/WindowsNoEditor folder.
  14. Open GameUserSettings.ini
    • Note the file is blank.
  15. Enter the Intermediate/Config/CoalescedSourceConfigs folder.
  16. Open the GameUserSettings.ini file located in this folder
    • Note the file contains the settings that were entered into the DefaultGameUserSettings.ini file.
  17. Copy these settings and paste them into the GameUserSettings.ini file in the Saved/Config/WindowsNoEditor folder.
  18. Launch the game.
  19. Close the game.
  20. Return to the Saved/Config/WindowsNoEditor folder and open the GameUserSettings.ini file.

RESULT:
The GameUserSettings.ini file is blank again.

EXPECTED:
The GameUserSettings.ini file retains the settings.

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

3
Login to Vote

Won't Fix
Affects Versions4.54.8
Target Fix4.8
CreatedJan 23, 2015
ResolvedFeb 3, 2015
UpdatedApr 27, 2018
View Jira Issue