Game User Settings doesnt save my scalability settings

Hi, Im using unreal engine 5.4

So there’s a problem in my project in which I cannot save my graphic settings in the Game User Settings.



Here’s how I change and apply my settings


Here’s how I save my settings

The thing is, my game still store settings like resolution, display mode, and even vsync option. and when I look at the GameUserSettings ini file there simply isnt anything that stores the scalability options.


As you can see, there’s no line that stores the scalability settings in my GameUserSettings ini file. there are only lines that stores resolution, vsync, etc…

Am I missing something? is this a bug?

Please help me out!

I believe Scalability settings are in the scalability.ini or defaultscalability.ini likely in Windows config folder.

Looking for clarity myself so will keep updated


There simply isn’t a scalability.ini in the folder,

And again,
the game loads everything perfectly besides the scalability because they simply aren’t being saved.

Try packing your game and then saving and loading the settings on the packaged project.

Some settings are shared between the engine and project while you are in the editor. (Settings like current language, which is stupid).

If you are in the editor they will be saved out to editor files, if it’s packaged then it should save out to the game’s ini files.

1 Like

Unfortunately, the problem still persist even after packaging the game

honestly there’s so many weird stuff happening with my game project like static actors mobility sometime becoming movable when reloading the editor or in the packaged game, maybe thats connected to this issue idk…

seems like my project is corrupted in some way…

SettingsProj.zip (68.7 KB)

Made a quick project to show you how it works.
Perhaps you forgot to load the settings themselves on startup?

You need to be in pie or standalone to see the window size change

image
I do load them (unless loading scalablilty requires a different node)

like I said, everything else loads. Resolution loads, window mode loads, even vsync setting loads. It’s just the scalability that doesnt load.

Alright I’m back.

First of all, do not apply scalability, instead you should be using “apply settings” and “save settings”
well that is the case for me in 5.3

And then, most likely in you game instance blueprint off of Event Init you call the “load settings”

Lastly, Scalability is a pre-defined set of Cvars and calculations based off hardware. These are not found in your project but rather Engine install location. Under Config you should find a bunch of .ini files all starting with “base” i.e “base scalability.” this houses those predefined values.


In this example I set my shadow quality in menu and when I change the setting It will apply and save on change. But if you have a save settings button instead you will want to use the “save settings” there. Same if you were to have a button to apply the settings. Just don’t forget to “get game user settings” and plug that into the target.

Let me know if this helps

Looking in the wrong place there.
Scalability settings if written to the GameUserSettings.ini file should be found in
/saved/config/WINDOWS/GameUserSettings.ini

You see that’s the even more confusing part…


THERE IS NO WINDOW config folder

image
all the other projects on my system are also in the same boat. they have no WINDOW config folder.

Oh that’s strange, you say you packaged the game for windows before?
Might exist in my project due to being upgraded from older version of Unreal.

Regardless of that have you tried using the apply settings and not the apply non-resolution settings option or both? I would just add the apply settings node to your existing apply function logic and see if that does it.

Worth a try

yes I have,
I have tried to apply settings and apply non resolution settings then save, apply settings then save, apply settings then save and then apply again. none worked :frowning:

Sorry guess I was running low on coffee and missed the scalability issue

Working project:
SettingsProj2.zip (288.1 KB)

You need to get the overall scalability settings on load and store them for ui purposes
obraz

Save them during the apply process

Just be sure to load them first, then apply specific overrides for specific areas where needed

IVE FIGURED IT OUT!!

turns out the problem isnt with the game user settings (sry guys :persevere:)

the problem is actually with the combo box actor that I use in the settings UI


Apparently the OnSelectionChanged function fires off on construct.


I think its because I change it’s options in pre construct but I’m not 100% sure and am too tired to do more testing.


In any case, I setup a branch to detect if the combo box newly constructed so that it doesn’t fire of the function on construct and that seems to solve the issue

Anyway thanks for all the help regardless!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.