com.unity.netcode.gameobjects icon indicating copy to clipboard operation
com.unity.netcode.gameobjects copied to clipboard

fix: client reconnect using NetworkSceneTable state [MTT-3363]

Open NoelStephensUnity opened this issue 3 years ago • 1 comments

(WIP)Refactoring: removing public facing API changes When a client is disconnected from a network session for external reasons there is no easy way for a user to reconnect the client without first unloading all scenes loaded by the server and have the client reload all scenes.

This PR introduces some additional methods that allows a user to save off the current NetworkSceneTable state that can be applied when reconnecting in order to avoid having to reload already loaded scenes.

MTT-3363

Changelog

  • Added: NetworkSceneManager.GetNetworkSceneTableState and NetworkSceneManager.SetNetworkSceneTableState to provide users with a way to reconnect to a network session without having to unload and reload the scenes.

Testing and Documentation

  • Includes manual testing capabilities in SceneTransitioningAdditive.
  • Includes integration test.
  • Includes integration test updates.

NoelStephensUnity avatar Apr 19 '22 16:04 NoelStephensUnity

Closed and re-opened to fix the JIRA association. Please make sure to add the JIRA ticket to the title upon PR creation in the future.

JesseOlmer avatar May 05 '22 21:05 JesseOlmer

closing this PR but preserving the branch

NoelStephensUnity avatar Sep 30 '22 20:09 NoelStephensUnity