Deterministic entities serialization

If I serilize all the rigidbody,and remove all of them from world.then I deserillize them and put them back to world.Does it guarantee deterministic result ? or I need to restep game from start? :eyes: I plan to use this way to save game state and reappear my game.

If BuildPhysicsWorld sees the entities in the same order as it originally did, then the simulation results will be the same, becuase the PhysicsWorld will be the same. So I think the question is whether your process of serialize->remove->deserailize could interfere with the entity order.

1 Like