Orion Orion Loading ScreenManual
中文EN

Sample project

Orion Loading Screen Sample is a separate Blueprint-only project for Unreal Engine 5.8 / Win64. It shows a studio logo film, a shader compilation screen, a press any key prompt and travel loading screens between four levels, all drawn as one HTML page with OrionBrowser.

On this page

Open it

  1. Download the sample and install both plugins in it: Orion Loading Screen in Plugins/OrionLoadingScreen, OrionBrowser in Plugins/OrionBrowser. The sample includes neither plugin.
  2. Open OrionLoadingScreenSample.uproject. Click the WebUIStudio button on the Level Editor toolbar and Download the OrionBrowser dependencies once.
  3. Play in Standalone Game or package the project: startup screens run in Play In Editor too, but a synchronous map load freezes the editor's viewport.

What happens

Moment What you see What drives it
Start The logo film A Custom startup screen; the page sends loadingScreen.finishStartupScreen when the film ends. Any key skips it.
Shader compilation Progress, percent and the pipeline state count over a looping sand video A Shader Compilation startup screen. The sample adds 2,400 simulated precompiles, see below.
Press any key The prompt, once the hall has loaded behind it A Press Any Key startup screen.
Hall A menu with three destinations WBP_SampleMenu, an OrionBrowser page that sends sample.travel.
Travel The destination's picture, its name, the stage of the moment, the percent and a tip Begin Loading Operation with the map name as Variant, Wait For Loading Screen, then Open Level. In the destination, BP_SampleLoadingWork reports a few seconds of work through a loading task.
Replay startup The shader compilation and press any key screens again Sets the simulated count again and calls Restart Startup.

Where things are

Asset Role
Content/UI/WebUI/OrionLoadingSample The web app: loading page (#/loading) and menu (#/menu), with the logo film and the sand video in public/media
/Game/OrionLoadingScreenSample/UI/WBP_LoadingScreen The loading screen widget of Web UI with OrionBrowser
/Game/OrionLoadingScreenSample/UI/WBP_SampleMenu The menu and the destination bar; travel and Replay startup
/Game/OrionLoadingScreenSample/Blueprints/BP_SampleLoadingWork A loading task that reports a few seconds of work with progress
/Game/OrionLoadingScreenSample/Maps L_Hub (Game Default Map), L_Dunes, L_Foundry, L_Glacier
Config/DefaultGame.ini Loading Screen Widget, Fade Out Seconds and the three startup screens
Config/DefaultEngine.ini The simulated precompile count
Content/Localization/Game An empty localization target for en and zh-Hans: a packaged game accepts -culture=zh-Hans only when a game localization target provides it

Simulated shader compilation

The sample bundles no PSO cache, so it sets OrionLoadingScreen.SimulatedShaderPrecompiles=2400 and OrionLoadingScreen.SimulatedShaderPrecompileRate=360 in [ConsoleVariables] of Config/DefaultEngine.ini. The screen then shows about seven seconds of compilation once per process. Remove the two lines in your own project; with a bundled PSO cache the same screen shows the real count.

Package it

Package from Platforms > Windows or with RunUAT BuildCookRun. The four maps are listed in Maps to Cook. OrionBrowser stages the web app and its Helper; keep the whole output folder when you share the build.

Type two or more characters

Contact us

Questions about the plugin, purchases or partnerships? Send us an email.