#Does Netcode support host migration?

1 messages · Page 1 of 1 (latest)

fair condor
#

If not, is it difficult to implement a workaround? When the server world is down I can imagine another connected player recreating it unless there is server only data that is missing.. So.. probably not. Doesn't seem like a trivial problem and I doubt that Netcode supports it, but hopefully I'm wrong.

fair condor
#

Does Netcode support host migration?

shell isle
#

No, we currently don't support that. And the reason being it is not designed for that.
Server may have server only data that isn't replicated to the client at all. That make very hard or impossible to migrate the session and keep playing.
Even ghosts, may have data that has been stripped (i.e: interpolated ones) and that the server requires to simulate them.

By per se, migrating the host is not the biggest problem to solve in the host migration process itself (from a developer perspective).
Are all the game-related problems that come with it, and in general the inconsistency that need to be handled. And for solving them, the constraints that need to be added to the logics, gameplay mechanics and so on.
That is really the hardest part in my experience

#

For server hosted, by using a replica server for example or backing up the world state, is would be possible to migrate players there and mitigating the inconsistencies. But also this is currently not supported.