Info

Flow

  1. RootScene runs AppLoaderController (see App Loader). All managers load into the root scene.
  2. NetworkStartLoader starts the network (mode from Polis/Network State toolbar in editor).
  3. Server start: NetworkSceneManager loads its global scenes (the project's GlobalNetScene with the PurrNet PlayerSpawner).
  4. Client gets its player ID: SceneSetupManager applies the home setup and joins its scenes. The loading overlay stays until this first setup is in or fails.
  5. Disconnect: current setup is cleared, player is teleported back to start.

Play in editor

Adding a new content scene

  1. Create the scene and make it Addressable (content scenes are addressable, downloadable ones go into a remote group).
  2. Add an ASceneSpawnPlace (e.g. ListSceneSpawnPlace).
  3. Create a SceneSetupDefinition referencing it, apply the validator fix for its address and label.
  4. Set it as DefaultSetup in the project's SceneSetupSettings, or add a selector / action to switch to it.
  5. Play with Polis/Play Root Scene.

Scene references