bevy_ecs_tilemap
bevy_ecs_tilemap copied to clipboard
Bug: `TileStorage` is not updated after `TilePos` is updated
It is demonstrated in the move_tile example that updating the value of an entity's TilePos is the intended API for moving a tile (without despawning and respawning it). However, if you do it this way then the corresponding map's TileStorage won't be updated and future lookups will be broken.
You need to manually update the tile storage for now.