So I am trying to make a game that relies heavily on physics. It is a multiplayer game, with a server, and players can join/leave the game at any time. To ensure everything is deterministic, everytime someone joins the game, I have to get every player on the server to recreate the physics world again, so that everybody is starting from the same point again, because as far as I am aware, even if you create a snapshot of a running world, a world created and run from that snapshot will not be deterministically the same as the already running world. Is there any way around this? Is there any way to give some sort of snapshot of an already running world to someone and have them run it deterministically?
For more complete information about compiler optimizations, see our Optimization Notice.