Loading Screens¶
Loading screens are shown while a scene loads. They're exported as a separate lightweight binary that loads instantly before the main scene data.
Setup¶
- Create a Prefab containing a
PSXCanvaswith your loading screen UI - On the Scene Exporter, assign this prefab to the Loading Screen Prefab field
- The loading screen can contain any UI elements: images, text, progress bars, boxes
How It Works¶
When a scene loads:
- The lightweight
.loadingfile is read first (fast) - The loading screen UI is displayed
- The main
.splashpackfile loads in the background - Once loading completes, the loading screen disappears and gameplay begins
Creating a Loading Screen Prefab¶
- Create a new empty GameObject
- Add a
PSXCanvascomponent with your desired layout - Add child elements:
PSXUIImagefor a background or logoPSXUITextfor "Loading..." textPSXUIProgressBarfor a loading indicatorPSXUIBoxfor solid-color backgrounds
- Save as a Prefab
The loading screen uses the same UI system and font pipeline as regular canvases.
Sharing Loading Screens¶
Multiple scenes can reference the same loading screen prefab. The exporter detects identical loading screens and deduplicates the binary output.
Tips¶
Keep it simple
Loading screens need to load instantly, so keep them lightweight. A solid background with text works well. Avoid large textures.
Loading screens have separate VRAM
The loading screen's textures and fonts are loaded into VRAM independently from the main scene. They don't count against your scene's VRAM budget.