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.
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
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-253972 in the post.
0 |
Component | UE - Framework |
---|---|
Affects Versions | 5.4, 21.20, 5.5 |
Created | Mar 4, 2025 |
---|---|
Updated | Mar 4, 2025 |