Skip to main content
Namespace: Molca
Interface: ISceneLoader
File: Packages/com.molca.core/Runtime/Runtime/SceneLoadManager.cs
Type: RuntimeSubsystem (child of RuntimeManager prefab)

When to use

Use SceneLoadManager for scene transitions that need queuing, Addressables integration, event dispatch, and progress tracking. For simple one-off scene loads, the built-in SceneManager works; this adds a load queue, typed events, and addressable scene lifecycle management.
⚠️ The static API (SceneLoadManager.LoadScene, etc.) is deprecated. Use the ISceneLoader instance interface.

Role

  • Queued loading — scenes are enqueued and processed sequentially. Only one load at a time.
  • Addressable scenes — loads/unloads scenes through Addressables with handle tracking, so unloads properly release memory.
  • Events — dispatches TypedEvents.SceneLoadStarted, SceneLoadCompleted, SceneLoadFailed, SceneUnloadStarted, SceneUnloadCompleted through EventDispatcher.
  • Single-mode cleanup — before loading a Single-mode scene, all Addressable scenes are automatically unloaded to prevent memory leaks.

API Reference

Resolve via RuntimeManager.GetService<ISceneLoader>() or [Inject] ISceneLoader.

Code

Events

Dispatched via EventDispatcher: