Remove raw Entity IDs from rollback checksummed state #8

Closed
opened 2026-09-15 16:42:52 +00:00 by EIREXE · 1 comment
Owner

Severity: Critical\n\nFighterActiveAttack::hit_fighters stores Bevy Entity IDs (src/fighter/mod.rs:236-243), and FighterReceivedAttacks stores attacker Entity IDs (src/fighter/attack.rs:435-443). These components are checksummed at src/fighter/mod.rs:195 and :228. Entity allocation can differ between peers because of local-only entities.\n\nFix: store stable player handles or rollback IDs in checksummed gameplay state and resolve them to local entities outside the checksum protocol.

Severity: Critical\n\nFighterActiveAttack::hit_fighters stores Bevy Entity IDs (src/fighter/mod.rs:236-243), and FighterReceivedAttacks stores attacker Entity IDs (src/fighter/attack.rs:435-443). These components are checksummed at src/fighter/mod.rs:195 and :228. Entity allocation can differ between peers because of local-only entities.\n\nFix: store stable player handles or rollback IDs in checksummed gameplay state and resolve them to local entities outside the checksum protocol.
Author
Owner

Fixed in 43ee6d8153

Fixed in 43ee6d8153
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: EIREXE/shinespark#8