Settings and Console Variables
The settings are in Edit → Project Settings → Plugins → Common Loading Screen, and are saved to Config/DefaultGame.ini under [/Script/CommonLoadingSettings.CommonLoadingScreenSettings].
Loading Screen
| Setting | Default | Description |
|---|
| Loading Screen Widget | None | The UMG widget shown as the loading screen. Leave it empty to use the built-in loading screen. The built-in loading screen is used if the widget can't be loaded, and a warning is logged. |
| Z Order | 10000 | The Z order of the widget in the viewport. Keep it higher than your other widgets. |
| Automatic Progress | Off | Reports loading progress automatically when a map is loaded. See Automatic progress. |
| Progress Smoothing | 0.0 | How fast the progress bar glides up to a new value, as a fraction of the bar per second. 0 jumps directly to each new value. Decreases always jump. See Reading the progress. |
Timing
| Setting | Default | Description |
|---|
| Additional Hold Time | 2.0 | Seconds to keep the loading screen up after loading has finished, so texture streaming can catch up. Not used when Wait For Streaming Instead Of Hold Time is on. |
| Minimum Display Time | 0.0 | The shortest time the loading screen stays up once it is shown, so short loads don't flicker. 0 turns it off. |
| Fade In Duration | 0.0 | Seconds the widget fades in when the loading screen is shown. 0 shows it at once. See Fading in. |
| Fade Out Duration | 0.0 | Seconds the widget fades out when the loading screen is hidden. 0 removes it at once. See Fading out. |
| Wait For Key Press | Off | Keeps the loading screen up after a map has loaded until the player presses a key. See Waiting for a key press. |
| Key Press Mode | Any Key | Any Key continues on any key or mouse button. Continue From Widget only continues when your widget calls Continue From Loading Screen, so buttons in the widget can be clicked and used with a gamepad. |
| Show Mouse Cursor While Waiting | Off | Only with Continue From Widget. Shows the mouse cursor and switches the player controllers to UI only input while waiting, so the buttons in your widget can be clicked. The cursor and input mode are restored when the wait ends. |
| Input Mode After Waiting | Game Only | The input mode the player controllers get when the wait ends: Game Only or Game And UI. Only with Show Mouse Cursor While Waiting. |
| Pause Game While Waiting | Off | Pauses the game while waiting for a key press, so enemies, timers and physics don't run behind the loading screen. Only the server or a standalone game can pause. On a client a warning is logged and the game keeps running. |
Streaming
| Setting | Default | Description |
|---|
| Wait For World Partition Streaming | On | Keeps the loading screen up until the World Partition cells around the streaming sources, usually the player, have loaded. Only has an effect in World Partition worlds. Requires Unreal Engine 5.2 or newer. See World Partition. |
| World Partition Timeout | 30.0 | The longest time in seconds to wait for World Partition streaming. A warning is logged when it runs out. 0 waits forever. |
| Wait For Streaming Instead Of Hold Time | Off | Replaces the fixed Additional Hold Time with waiting until texture streaming and shader precompiling are idle. Minimum Display Time still applies. See Waiting for streaming. |
| Wait For Texture Streaming | On | Waits until the texture streaming system has no pending requests. |
| Wait For Shader Precompiling | On | Waits until the shader pipeline cache has no precompiles left. |
| Max Streaming Wait | 10.0 | The longest time in seconds to wait for streaming and shaders, so the loading screen can never get stuck. 0 waits forever. |
Status Text
The text to show the player. See Status text. All texts except the default are empty, and an empty text uses Default Text. The default texts can be translated with the Localization Dashboard.
| Setting | Default | Description |
|---|
| Default Text | Loading... | The status text when no other text applies. |
| Connecting Text | Empty | Shown while connecting to a server. |
| Loading Map Text | Empty | Shown while a map is loading. |
| Streaming Levels Text | Empty | Shown while streaming levels are loading. |
| Compiling Shaders Text | Empty | Shown while shaders are precompiling. |
| Finishing Text | Empty | Shown during Additional Hold Time and Minimum Display Time. |
| Key Press Text | Press any key to continue | Shown while waiting for a key press. |
| Gamepad Key Press Text | Empty | Shown while waiting for a key press when the last input was from a gamepad. Empty uses Key Press Text. |
Built-in Loading Screen
Used when Loading Screen Widget is empty, and can only be edited then. See Built-in Loading Screen.
| Setting | Default | Description |
|---|
| Layout | Classic | Classic, Center, Letterbox, Sidebar, Minimal, Card or Bottom Bar. |
| Title | Empty | A title, for example the name of the game. |
| Show Tips | On | Shows the tips from Tips. |
| Show Progress | On | Shows a progress bar and percentage while something reports progress. |
| Show Map Info | On | Shows the Map Name and Map Description from the Map Override of the map being loaded. |
Appearance
| Setting | Default | Description |
|---|
| Spinner | Ring | None, Ring, Throbber, Blocks, Bars, Dots, Line or Image. |
| Spinner Image | None | The Texture 2D for the Image spinner. |
| Key Press Icon | None | Shown next to the status text while waiting for a key press. |
| Gamepad Key Press Icon | None | Shown next to the status text while waiting for a key press when the last input was from a gamepad. Empty uses Key Press Icon. |
| Logo | None | A logo to show. Not shown with Minimal. |
| Logo Size | 128 x 128 | The size of the logo. |
| Theme | Dark | Dark, Light, Cinematic, Midnight or Custom. |
| Background, Panel, Text and Accent Color | Black and white | The colors for the Custom theme. |
Content
Tips
| Setting | Default | Description |
|---|
| Tips | Empty | The tips to show. See Tips. |
| Tip Duration | 6.0 | Seconds each tip is shown. 0 keeps the same tip until the next loading screen. |
| Shuffle Tips | On | Picks the tips in random order instead of the order in the list. |
Slideshow
Preload Images is on by default and loads all images when the game starts, so showing the loading screen never hitches. Turn it off to load the images of each loading screen when it is shown, which uses less memory between loading screens.
| Setting | Default | Description |
|---|
| Images | Empty | Images to show behind the widget. See Slideshow. |
| Image Duration | 6.0 | Seconds each image is shown. 0 keeps the first image. |
| Crossfade Duration | 1.0 | Seconds the crossfade between two images takes. |
| Shuffle Images | Off | Picks the images in random order instead of the order in the list. |
Music
| Setting | Default | Description |
|---|
| Music | None | The sound to play while the loading screen is shown. See Music. |
| Music Volume | 1.0 | The volume of the music. |
| Music Fade In Duration | 1.0 | Seconds the music fades in. |
| Music Fade Out Duration | 1.0 | Seconds the music fades out when the loading screen is hidden. |
Movies
| Setting | Default | Description |
|---|
| Movies | Empty | The movies to play while a map loads. See Adding movies. |
| Movie Playback Type | Looped Last Playback | Normal Playback plays the movies once, Looped Playback loops all of them and Looped Last Playback loops the last one. |
| Movies Are Skippable | Off | The player can skip the movies with a key or mouse click. |
| Wait For Movies To Complete | Off | Plays the movies to the end. When off, they stop as soon as the map has loaded. Ignored, and greyed out, when the movies loop and are not skippable, since they would never end. |
| Show Widget Over Movies | Off | Draws the Loading Screen Widget on top of the movies. |
| Use Movie Player During Load Map | Off | Shows the loading screen with the Movie Player while a map loads, so it keeps animating. See Keeping the widget animated. |
| Allow Widget On Movie Player Thread | Off | The Movie Player draws on another thread, where UMG widgets are not thread safe. When off, the built-in loading screen is shown there instead of your Loading Screen Widget. Turn on only if your widget is simple, with no bindings, animations or Blueprint ticking. |
Adding movies
- Put the movie files in
/Content/Movies in your project, or in a subfolder of it, for example Content/Movies/MyMovie.mp4.
- Enter the path relative to
Content/Movies, without the extension. For Content/Movies/MyMovie.mp4 you enter MyMovie, and for Content/Movies/Intro/MyMovie.mp4 you enter Intro/MyMovie.
- A movie that can't be found is skipped and a warning is logged.
- Movies are not packaged as assets. Make sure they are copied to the packaged build: turn off Skip Movies and add the names to Movies that are not in UFS under Project Settings → Packaging. With Use Zen Store on, the movies end up in the pak file and the Movie Player can't open them.
Maps
| Setting | Default | Description |
|---|
| Map Overrides | Empty | Different content for specific maps. See Map Overrides. |
| Blocked Map Names | Empty | Maps that never show a loading screen when loaded or travelled to, also with seamless travel. Enter the map name, for example MainMenu, or the full path, for example /Game/Maps/MainMenu, to tell apart maps with the same name in different folders. See Blocked maps. |
| Blocked Maps | Empty | Same as Blocked Map Names, but you pick the maps from a list instead of typing their names. Both lists are used. |
Map Overrides
Each map can also have a Map Name and a Map Description, which the built-in loading screen shows when Show Map Info is on.
Use a different widget, movies, tips, images or music while a specific map loads. Add one entry per map.
| Field | Description |
|---|
| Map | The map the override is for. |
| Widget | The widget to show while this map loads. Leave it empty to use the default Loading Screen Widget. |
| Movies | The movies to play while this map loads. Leave it empty to use the default Movies. |
| Tips | The tips to show while this map loads. Leave it empty to use the default Tips. |
| Images | The images to show while this map loads. Leave it empty to use the default Images. |
| Music | The music to play while this map loads. Leave it empty to use the default Music. |
The override is picked when the loading screen is shown, from the map that is being loaded or travelled to. Maps are matched by their full path, so two maps with the same name in different folders can have different overrides. A loading screen that is already up when the load starts keeps its widget and images, but changes to the tips and music of the new map. The first loading screen when the game starts always uses the default widget.
Tips and images set from Blueprint or C++ take priority over Map Overrides. Durations, volume, fades and shuffling are shared by all maps. The splash screen always uses the default tips.
The images and music in all entries are loaded when the game starts and stay in memory, so showing the loading screen doesn't hitch.
Splash Screen
These settings are shown for the matching Splash Screen Type, where a type is listed.
| Setting | Type | Default | Description |
|---|
| Disable Splash Screen | | Off | Turns off the splash screen. |
| Splash Screen Type | | BLACK | The splash screen on startup: BLACK, LOADING, IMAGE or VIDEO. |
| Splash Additional Hold Time | | 2.0 | Seconds to keep the splash screen up after the engine has finished loading. |
| Image | IMAGE | Plugin default image | The Texture 2D to show. |
| Stretch | IMAGE | Scale To Fit X | How the image is scaled. |
| Stretch Direction | IMAGE | Both | Whether the image may be scaled up, down or both. |
| Loading Text | LOADING | LOADING... | The text to show. |
| Loading Font | LOADING | Regular, size 10 | The font of the text. |
Overlay
Shown with every type except VIDEO. See Logo, tip and version.
| Setting | Default | Description |
|---|
| Logo | None | The logo at the top of the splash screen. |
| Logo Size | 256 x 256 | The size of the logo. |
| Show Tip | Off | Shows a random tip from Tips. |
| Show Version | Off | Shows the Project Version from the project settings. |
| Show Shader Progress | Off | Shows how many shaders are left to precompile. |
| Shader Progress Text | Compiling shaders: {0} | The text for the shader progress. {0} is the number of shaders left. |
Splash movies
Shown for the VIDEO type.
| Setting | Default | Description |
|---|
| Movies | Empty | The movies to play on startup. See Adding movies. |
| Movie Playback Type | Normal Playback | Normal Playback plays the movies once, Looped Playback loops all of them and Looped Last Playback loops the last one. |
| Movies Are Skippable | On | The player can skip the movies with a key or mouse click. |
| Wait For Movies To Complete | On | Plays the movies to the end. When off, they stop as soon as the engine has finished loading. Ignored, and greyed out, when the movies loop and are not skippable. |
Debugging
| Setting | Default | Description |
|---|
| Log Reason Every Frame | Off | Logs the reason for the loading screen every frame. |
| Force Visible | Off | Always shows the loading screen. |
| Hold Time Even in Editor | On | Applies Additional Hold Time in the editor too. |
| Force Tick Even in Editor | On | Ticks Slate once when the loading screen is shown in the editor, so it is drawn right away. |
| Heartbeat Hang Duration | 0.0 | Seconds the loading screen can be up before the game is considered hung. 0 turns it off. |
| Log Heartbeat Interval | 0.0 | Seconds between each log of what is keeping the loading screen up. 0 turns it off. |
Console variables
Four settings have a console variable, so you can change them at runtime. The Project Setting is the starting value.
| Console variable | Setting |
|---|
CommonLoadingScreen.ShowLoadingScreenAdditionalSecs | Additional Hold Time |
CommonLoadingScreen.ShowSplashScreenAdditionalSecs | Splash Additional Hold Time |
CommonLoadingScreen.LogLoadingScreenReasonEveryFrame | Log Reason Every Frame |
CommonLoadingScreen.AlwaysShow | Force Visible |
Command line
| Argument | Description |
|---|
-NoLoadingScreen | Never shows the loading screen. Not available in Shipping builds. |
Upgrading from older versions
Older versions saved the settings under [/Script/CommonLoadingScreen.CommonLoadingScreenSettings]. The plugin reads the old section on startup and copies values that are missing from the new section. It logs a warning when it copies anything. Move the values to the new section and remove the old one to get rid of the warning. When the new section already has every value, the old section is ignored and only a normal log line says that it can be removed.