You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Synctest session doesn't detect all desyncs that it could/should #108
If the user forgets to register a component for rollback, this may cause a problem when the entity is despawned which is not detected by synctest sessions.
For instance. Let's say the user forgets to register a marker component, Bullet.
This is desync bug, because restoring the bullet entity will not restore the Bullet component.
However, this is not detected by the synctest session. It happily restores the bullet entity without the Bullet component and doesn't report any desyncs.
It looks like the synctest session rolls back before it stores the latest checksum. It might be that something is wrong wrt the order we do things.
PR #127 (despawn via disabling component) directly addresses the core case here. By never truly removing rollback entities from the world, all components — registered or not — are preserved through rollback. The missing-component desync you described would be naturally avoided once that PR is merged.
Resolved by #127 (merged): entities are never truly removed via , so all components survive rollback and desyncs from unregistered components on despawned entities are no longer possible.
Activity
gschup commentedon Mar 21, 2026
PR #127 (despawn via disabling component) directly addresses the core case here. By never truly removing rollback entities from the world, all components — registered or not — are preserved through rollback. The missing-component desync you described would be naturally avoided once that PR is merged.
Leaving this open until #127 lands.
gschup commentedon Apr 9, 2026
Resolved by #127 (merged): entities are never truly removed via , so all components survive rollback and desyncs from unregistered components on despawned entities are no longer possible.