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
cargo run will either result in
a. game runs normally
b. game runs normally with errors printed out
ERROR bevy_ecs::system::commands: Failed to 'insert or spawn' bundle of type bevy_ecs_tilemap::render::extract::ExtractedRemovedTileBundle into the following invalid entities: [4v0, 6v0]
ERROR bevy_ecs::system::commands: Failed to 'insert or spawn' bundle of type bevy_ecs_tilemap::render::extract::ExtractedRemovedMapBundle into the following invalid entities: [3v0]
c. panic
ERROR bevy_ecs::system::commands: Failed to 'insert or spawn' bundle of type bevy_ecs_tilemap::render::extract::ExtractedTileBundle into the following invalid entities: [3v1]
ERROR bevy_ecs::system::commands: Failed to 'insert or spawn' bundle of type bevy_ecs_tilemap::render::extract::ExtractedTilemapBundle into the following invalid entities: [4v1, 6v1]
ERROR bevy_ecs::system::commands: Failed to 'insert or spawn' bundle of type bevy_ecs_tilemap::render::extract::ExtractedTilemapTextureBundle into the following invalid entities: [6v1, 4v1]
thread 'Compute Task Pool (5)' panicked at 'called `Result::unwrap()` on an `Err` value: NoSuchEntity(4v1)', /home/chung/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_ecs_tilemap-0.7.0/src/render/prepare.rs:82:55
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'main' panicked at 'task has failed', /home/chung/.cargo/registry/src/github.com-1ecc6299db9ec823/async-task-4.2.0/src/task.rs:425:45
I know the rewrite is still a work in progress and pontentially it is caused by bevy_ecs_tilemap but I am not quite sure about the cause of the problem.
The text was updated successfully, but these errors were encountered:
Seems to be the same bug as #91. The same fix described by @beardedmullett seems to address this. Though I'm still not 100% sure that that fix is ideal. I'll work on it
I am trying the rewrite branch and found a strange bug which is related to iyes_loopless
Here is the reproducible repo
The problem:
iyes_loopless
in use for aGameState::LoadingLevel
https://github.com/chungwong/tilemap_bug/blob/bug/src/state.rs#L13LoadingLevel
, https://github.com/chungwong/tilemap_bug/blob/bug/src/tilemap.rs#L23cargo run
will either result ina. game runs normally
b. game runs normally with errors printed out
c. panic
I know the rewrite is still a work in progress and pontentially it is caused by bevy_ecs_tilemap but I am not quite sure about the cause of the problem.
The text was updated successfully, but these errors were encountered: