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
# Objective
#6547 accidentally broke change detection for SparseSet components by using `Ticks::from_tick_cells` with the wrong argument order.
## Solution
Use the right argument order. Add a regression test.
// ensure changing an entity's archetypes also moves its changed state
996
+
world.entity_mut(e1).insert(C);
997
+
998
+
assert_eq!(get_filtered::<Changed<SparseStored>>(&mut world), vec![e3, e1],"changed entities list should not change (although the order will due to archetype moves)");
999
+
1000
+
// spawning a new SparseStored entity should not change existing changed state
0 commit comments