Scriptable Scenes
ReleasedSource code: GitHub
This package provides a way of configuring and loading scenes via Scriptable Objects, which allows avoiding errors when loading by path
or index
. Additionally, this tool allows loading multiple scenes at once additively, with built-in support for setup (some call it bootstrap) scene.
Included scripts provide functionality for fading while the scene loads, hooking into scene, collection or global events. The Editor window lets switch scenes mid-play and also ensures correct load and activation order when loading multiple scenes additively.
This tool is especially useful for XR games, as you can keep the player rig loaded inside the setup scene, which prevents stuttering during loads.