bevy_ecs_tilemap
bevy_ecs_tilemap copied to clipboard
Best way to destroy and recreate a tilemap?
Hello and thank you for this awesome crate!
I'm encountering an issue with the 0.11 version while attempting to make a save system:
I've an exclusive system that removes all the entities (including tiles and tilemap) and then spawns a new tilemap with fresh storage and tiles. It all runs in a specific state. It works fine but however I randomly get the following messages in the log:
Failed to 'insert or spawn' bundle of type bevy_ecs_tilemap::render::extract::ExtractedTilemapTextureBundle into the following invalid entities: [374v2]
Am I doing something wrong? Is this a bug?