I'm chaining two systems after each other like (place_shape, update_boundary).chain() and while update_boundary certainly runs after place_shape, it seems like the Command changes made by the first system (e.g. despawn_entity) are not yet applied when the second system runs. Is this the case, or is there some other bug in my code?
If it is the case, how do I schedule these systems so the second one runs after the commands of the first have been applied to the world?