Skip to content

v2.2.9

Latest

Choose a tag to compare

@Felid-Force-Studios Felid-Force-Studios released this 11 Jul 20:01
· 2 commits to master since this release
23b1cf3

What's Changed

Full Changelog: v2.2.8...v2.2.9

Fixed

  • Parallel queries: ApplyBlock in the change tracker received an already-shifted segment index, so tracking bits from parallel query batches were written to the wrong segment (Query1–Query6).
  • Systems now restore their tracking tick from snapshots. Previously CurrentTick was restored while each system's last-processed tick was not, so after LoadWorldSnapshot a system's AllAdded / AllChanged / AllDeleted window could underflow (exception in Debug) or silently span the whole tracking
    ring buffer (Release).

Changed

  • ISystem has a single identifier: Guid() returning null (default) derives it from the system type name; override it to pin the identity or to distinguish several instances of one type. Snapshot entries — the system's tracking tick and its serialized state — are matched by this identifier.
  • Snapshot serialization of a system's own state is now opt-in via overriding both Write and Read, not via declaring a Guid. Overriding only one of the two throws at Add; duplicate identifiers within one pipeline are asserted in Debug.
  • Every system's tracking tick is stored in snapshots regardless of whether it has serialized state. On load it is clamped to the range still covered by the tracking ring buffer; systems absent from the snapshot start from the restored world tick, so their first update sees an empty change window.
  • Snapshot format version bumped to 3.