Adapt Mirror AdditiveLevels portal pattern #7

Open
opened 2026-09-20 12:10:47 +00:00 by admin · 0 comments
Owner

Summary

Blocked by "Playtest gate: 2-client Landscape". Adapt the Mirror AdditiveLevels portal pattern — move only the entering connection; Landscape remains the hub.

Subtasks

  • Clone AdditiveLevels NetworkManager — clone Mirror's AdditiveLevelsNetworkManager pattern into NetCode: additiveScenes[] list, OnServerSceneChanged -> ServerLoadSubScenes, OnClientChangeScene customHandling, fade canvas.
  • Port Portal.SendPlayerToNewScene coroutine — port Portal.OnTriggerEnter + SendPlayerToNewScene to NetCode's player types, swapping PlayerControllerBase for CharacterMovement disable. Preserve the exact order: Unload message -> fade -> RemovePlayer/Unspawn -> frame -> move -> Load message -> AddPlayer.

Tracked in Obsidian: Projects/NetCode.

## Summary Blocked by "Playtest gate: 2-client Landscape". Adapt the Mirror AdditiveLevels portal pattern — move only the entering connection; Landscape remains the hub. ## Subtasks - [ ] Clone AdditiveLevels NetworkManager — clone Mirror's `AdditiveLevelsNetworkManager` pattern into NetCode: `additiveScenes[]` list, `OnServerSceneChanged` -> `ServerLoadSubScenes`, `OnClientChangeScene` customHandling, fade canvas. - [ ] Port Portal.SendPlayerToNewScene coroutine — port `Portal.OnTriggerEnter` + `SendPlayerToNewScene` to NetCode's player types, swapping `PlayerControllerBase` for `CharacterMovement` disable. Preserve the exact order: Unload message -> fade -> RemovePlayer/Unspawn -> frame -> move -> Load message -> AddPlayer. Tracked in Obsidian: Projects/NetCode.
admin added this to the M2 — Portal Plan milestone 2026-09-20 12:10:47 +00:00
admin added the priority: mediumportals labels 2026-09-20 12:10:47 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: admin/Test-Multiplayer#7