Description

When changing the version in UGameUserSettings, the expected behaviour is that GameUserSettings.ini will be wiped/delete and then regenerated. The actual behaviour is that within the ValidateSettings function, IFileManager fails to find the file, and therefore does not wipe or delete it.

Steps to Reproduce

1) Create a blank C++ project
2) Create a subclass of UGameUserSettings
3) Override IsVersionValid
4) Place a breakpoint in UGameUserSettings::ValidateSettings
4) Run the editor from IDE
5) Step through ValidateSettings
6) See that IFileManager::Get().Delete(*GGameUserSettingsIni) fails to find the file

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-253972 in the post.

1
Login to Vote

Fixed
ComponentUE - Framework
Affects Versions5.421.205.5
Target Fix5.7
Fix Commit41080675
CreatedMar 4, 2025
ResolvedMar 26, 2025
UpdatedMar 29, 2025