Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

GameUserSettings not working?

Hello, prepping the graphical options for my game, and I can't seem to get GameUserSettings working at all in the editor.

I've followed a bunch of tutorials and tried a bunch of things, but code like GEngine->GameUserSettings->GetDefaultResolution(); GEngine->GameUserSettings->GetDefaultResolutionScale(); GEngine->GameUserSettings->GetResolutionScaleInformationEx(scaleNorm, scale, scaleMin, scaleMax)

Always return either 0, or inf. I can't seem to use GameUserSettings at all within the editor, and packaging takes a few hours so that's not something I'd be able to properly test on.

I've followed this guide, and many other things found online without any success. https://impetus-games.com/blog/Persistent-Graphics-Settings-in-UE4

Is there a different way to use GameUserSettings within the editor, or some updated guide somewhere I may have missed?


Product Version: UE 4.13
more ▼

asked Nov 10 '16 at 06:57 PM in Packaging & Deployment

avatar image

152 38 37 45

avatar image Matthew J Nov 14 '16 at 09:07 PM

Hello Juice-Tin,

I'm not familiar with pulling from this config file as of yet, but from looking through that tutorial you linked, they seem to be getting a reference to GameUserSettings, storing it, and then using it to refer to the variables directly when getting information from it rather than using Get functions to do so. Have you tried doing something similar to what they did with their GetVideoQualitySettings() function where they refer directly to the variables by way of


wherein "Settings" is set with GetGameUserSettings();?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

We haven't heard from you in a while, Juice-Tin. Are you still experiencing this issue? If so, have you tried what I mentioned in my previous comment? In the meantime, I'll be marking this as resolved for tracking purposes.

more ▼

answered Nov 22 '16 at 07:48 PM

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question