gschup / bevy_ggrs

Bevy plugin for the GGRS P2P rollback networking library.
Other
299 stars 41 forks source link

Generating checksums for WorldSnapshots #1

Closed gschup closed 3 years ago

gschup commented 3 years ago

The problem: No checksums are generated, so SyncTestSession cannot compare checksums.

In order to make SyncTestSession meaningful, the GGRS plugin either needs to automatically compute a checksum from a WorldSnapshot or the API should provide the user a possibility to provide checksums themselves.

gschup commented 3 years ago

WorldSnapshot now aggregates hash values of all hashable components/resources into a checksum, so I consider this Issue resolved for now.

The current way is neither ideal nor exhaustive, but it will suffice for now.