Where values are saved
- Values are saved to RollySettings.ini in the user’s saved config folder, next to GameUserSettings.ini (for example
Saved/Config/Windows/RollySettings.iniin a packaged game,Saved/Config/WindowsEditor/RollySettings.iniafter Play In Editor or Standalone Game, or under%LOCALAPPDATA%for installed Shipping builds on Windows). It is a file of its own because the engine may delete GameUserSettings.ini when a project bumps its settings version. - Sections:
[RollySettings.Shared]and[RollySettings.Player.<platform user index>]; keys are setting tag names. On desktop the platform user index is the controller slot (the first player is 0). In Play In Editor, each window after the first adds 100 times its number (the second window’s first player isPlayer.100), so the windows keep their own values. With profiles on,[RollySettings.Profiles]and[RollySettings.Profile.<Id>]hold the profiles (see Share settings with the server and keep player profiles). - Only values that differ from the default are written, so a default changed by a game update reaches players who never changed that setting. Renamed tags are followed through Gameplay Tag redirects. Values that no setting of the collection owns are kept unchanged at every save: content that is not loaded yet (a Game Feature, DLC), a newer or older build of the game.
- The file names its format in section
[RollySettings], keyFormatVersion(1 today); a file without it is read as format 1. A file of a newer format (written by a newer version of Rolly Settings, for example when a player goes back to an older build) is read but never written in that session, with a setup warning, so its data survives. - Values a binding saves itself are not written by Rolly Settings, except a Requires Restart value that waits for the next start (below). The built-in display and graphics settings are saved by the engine in GameUserSettings.ini, once per group of values; the anti-aliasing method, brightness, volumes, subtitles, colour vision, interface size, high contrast and reduce motion are saved in RollySettings.ini.
- The player’s keys are saved by Enhanced Input in its own key file (
<Slot>.savin the SaveGames folder), after each change; RollySettings.ini holds none of them. A backup or cloud copy of a player’s settings needs both files. Enhanced Input finds a saved key by its mapping’s Name (Player Mappable Key Settings) and by the order of that Name’s mappings, so renaming or reordering them in an update after release resets those keys for every player. The other Controls values (hold or toggle modes, sensitivities, invert switches, stick dead zones and curve, vibration, prompts) are Per Player values in RollySettings.ini. - In the editor (Play In Editor, tests) nothing is saved to GameUserSettings.ini, nor the scalability levels to EditorSettings.ini, which every project on the machine shares.
- A game moved from UE 5.7 to UE 5.8 keeps its players’ HDR Brightness. Moved from 5.8 to 5.7, HDR Brightness starts at the collection’s default (203 nits in the built-in library) and the game opens on the primary monitor: UE 5.8’s engine saved both in GameUserSettings.ini, and UE 5.7 reads neither from there.
When values are saved
Writing happens on Apply, Confirm, Reset, when a player or the game leaves, when a settings screen closes, when the game window loses focus, and when a mobile app goes to the background or the system ends it. An Immediate change is written after Project Settings > Rolly Settings > Immediate Save Delay (2 seconds by default) with no further change, so a slider drag is one write and a crash or a killed process after that keeps it; 0 writes every change at once. -RollySettingsINI=<path> on the command line moves the file; -nowrite stops all writes.
Use your own save system
Project Settings > Plugins > Rolly Settings > Storage Class chooses where values go: Ini File (the default), Memory Only (nothing is saved; for kiosks, demos and tests), or your own subclass of URollySettingsStorage (override LoadValues, SaveValues and Flush). Keep each section apart by FRollySettingsStorageKey::ToString() (“Shared”, “Player.0”, “Profile.2.Meta”, “Profiles”): a storage keyed by scope and player index alone would merge the profiles and the remembered facts into the player’s section.
For one setting, a binding can save the value itself: tick Saved Elsewhere on a Blueprint binding (see Add your own settings).
First start
For a setting whose binding saves the value itself, the start asks the binding whether the player has a saved value; the engine bindings answer whether GameUserSettings.ini existed when the game started. On a fresh install (or after the project’s settings version made the engine delete the file) the collection’s defaults are applied through the binding and saved, so a new player gets the Default Option you chose (for example Medium quality) instead of the engine’s. The built-in library skips this: without a collection of your own, the project’s engine configuration (DefaultGameUserSettings.ini, device profiles) decides until the player changes a value.
The editor always has a GameUserSettings.ini, so the first-start defaults never apply in Play In Editor. Test them in a packaged build with the file deleted.
A confirmation nobody answered
When an Apply that needs confirmation covers settings whose binding saves the value itself (Window Mode, Resolution, Monitor), Rolly Settings first writes the values to go back to into RollySettings.ini, in [RollySettings.Shared.Unconfirmed] (and [RollySettings.Player.<platform user index>.Unconfirmed]), then applies. Confirm and Revert remove them again. If the game quits during the countdown, the values are put back and GameUserSettings.ini is saved again while the game shuts down, so the next start opens in the previous mode. If the game crashes or is killed, the next start applies the values it wrote (before the first map) and removes them, and the window takes the recovered size as soon as it exists.
Requires Restart with a binding that saves the value
When a binding saves the value itself (Saved Elsewhere, or an engine setting), Apply offers the new value to the binding’s Store Value For Next Start. A binding that stores it where the game reads it at start (an engine config file, your save game) returns true. Otherwise Rolly Settings keeps the value in RollySettings.ini, applies it through the binding at the next start and then removes it from the file, because the binding keeps it from there on. The built-in engine bindings always leave it to Rolly Settings: GameUserSettings.ini holds the values in effect, and the next start applies the kept value before the first map. A binding that can do neither (its SupportsNextStartValues returns false) cannot be used with Requires Restart: validation reports it as an error, and Apply reports it and puts the value back instead of losing it silently.
Cook the collection and what it loads
The collection named in Project Settings is always cooked: the editor module adds it to every cook, and the cook log names it. The assets its bindings load by path (the sound classes of the volume settings) are added too, also for the built-in library, which uses the engine’s Music, SFX and Voice classes, and so are the mapping contexts of Project Settings > Mapping Contexts, which nothing else may reference. If the collection is missing when the game starts (deleted, renamed, not cooked, not a collection), the game uses the built-in library and reports a setup error, so players never get an empty settings screen. Other ways to cook a collection that is only loaded by path: Project Settings > Packaging > Additional Asset Directories to Cook, or a Primary Asset Label.
The same holds for the screens: the theme, the dialog, toast and template classes of Project Settings > Rolly Settings Core UI and the classes of Project Settings > Rolly Settings Screen are added to every cook (a built-in C++ class needs nothing), and a name that does not exist is reported at cook time with its fix. A theme or class that cannot be loaded in the game falls back to the built-in one with a setup error. Themes offered to players by path (an Interface Theme setting) must be cooked by you: share one of them, or reference the others from your own content.
Limits
- Not yet checked in a packaged build: the window itself after a quit or a crash during a display confirmation. The automated tests cover the saved values and their recovery.