Scenes
A scene is one level or screen of your game: a menu, level 1, level 2, game overโฆ Each scene has its own objects, environment, scene variables and event sheet. Global variables are shared by all scenes.
Open the Scenes panelโ
Tap the scene chip (๐ฌ Main โพ) at the top of the Objects or Scene tab, or โฎ โ Scenes.



- Tap a scene to edit it. The row says editing for the current one.
- โ marks the start scene โ where the game begins (starts the game).
- + Add scene creates a new scene with a camera, a sun and a ground, and switches to it.
Scene menuโ
Tap โฎ on a scene:
| Item | What it does |
|---|---|
| Edit this scene | Switch to it. |
| Rename | Rename it (update Go to scene actions that use the old name). |
| Duplicate | A full copy โ handy to make a new level from an existing one. |
| Set as start scene | The game begins here. |
| Delete | Delete it and everything in it (not possible for the last scene). |

Changing scene while playingโ
Use the actions Go to scene and Restart scene (System category). On end of scene runs just before a scene is left. To play from the scene you are editing instead of the start scene, use โฐ โ Run this scene.
What is ready when a scene appearsโ
A scene appears once its models, pictures and sounds have loaded (the current scene keeps running meanwhile, or a loading screen scene shows progress). Its shaders are compiled in its first frame, which is behind the loading screen when the game starts:
- everything in the scene, also objects that are off screen, hidden, or hidden by occlusion culling;
- every prefab, so a spawned copy draws at once;
- the particle effects your events and scripts spawn (Spawn particles with an effect such as sparkle).
So nothing stops the game to compile a shader the first time it comes into view (Unity calls this warming up shaders).
To load another scene's assets earlier (while the player is still in this one), or to load and free groups of assets yourself, see On-demand assets.
Keep an object across scenesโ
Select an object and switch on Keep across scenes (next to Visible and Active), or use the Keep across scenes action, or entity.persist = true in a script. When the game goes to another scene, that object comes along instead of being made again: with its children, where it is now and its variables. A score display, a music player or the hero that travels between levels.
- If the next scene has the same object (same name) with Keep across scenes on too, the one that comes along replaces it, so it is never doubled. Put the switch on in every scene that has it, and test any scene on its own.
- A scene's other objects are made as usual, and the ones you did not mark are left behind with the old scene.
- Timers, running animations and scripts of the object start again in the new scene. Variables and position carry over.
- An object under a parent that does not stay is moved to the top level where it stands.
- These objects are global: the condition and action pickers of every scene's event sheet list them (marked ๐ Global), with their children and variables, even when that scene has no copy. The Objects tab's Types view lists them too, to drag a copy into another scene.
Each scene chooses which event sheet runs in it in the Logic tab (This scene runs). Several scenes can share one sheet, and a sheet can include another (see Advanced events).