Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Best way to destroy and recreate a tilemap? #454

Open
OwlyCode opened this issue Aug 1, 2023 · 0 comments
Open

Best way to destroy and recreate a tilemap? #454

OwlyCode opened this issue Aug 1, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@OwlyCode
Copy link

OwlyCode commented Aug 1, 2023

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?

@StarArawn StarArawn added the bug Something isn't working label Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants