Closed oberzs closed 7 months ago
Hello, thanks for the issue!
Have you tried using this patch? https://github.com/Trouv/bevy_ecs_ldtk/issues/174#issuecomment-1676160498
Yes, that works perfectly, thank you!
I'm renaming/reopening this issue, and pinning it since many users have been running into this. Will close once the bevy_ecs_tilemap
fix has been released.
I believe this is the MR that fixed it in bevy_ecs_tilemap
btw: https://github.com/StarArawn/bevy_ecs_tilemap/pull/451 (commit b87874e9f0598176aaedf4d875927eb668312c30)
After upgrading my POC project rusty-woods I experienced possibly the same issue as described in ecs_tilemap - first level load looks fine, but after going to level2 (into the house) or back out to the first level, the tiles are gone on both levels. I will try this again in a future version.
Unfortunately adding this to my Cargo.toml didn't help. Making me question if the tilemap fix helped.
[patch.crates-io]
bevy_ecs_tilemap = { git = "http://github.com/StarArawn/bevy_ecs_tilemap", version = "0.11", branch = "main" }
Eitherway, I am apparently not the only one finding something similar. I hope that future versions will have this fixed. I am happy that your project keeps growing. I was trying to upgrade my old POC out of curiosity. I hope I can find the cause of the bug in the future so I can keep a nice looking POC ^^
Strange - I was experiencing this before too and using the newer bevy_ecs_tilemap did fix it for me. BTW I believe the "fix commit" I referenced above has been released in a bevy_ecs_tilemap
release now. Could you tried using bevy_ecs_tilemap = "0.11.1"
and cargo update
?
Strange - I was experiencing this before too and using the newer bevy_ecs_tilemap did fix it for me. BTW I believe the "fix commit" I referenced above has been released in a
bevy_ecs_tilemap
release now. Could you tried usingbevy_ecs_tilemap = "0.11.1"
andcargo update
?
No way! That fixed it!
Having a pure
bevy_ecs_tilemap = { version = "0.11.1", features = ["atlas"] }
fixed it for me!
Thank you ^^ And good luck going forward!
A little surprised that 0.11.1 didn't get pulled down automatically when I had it specified as 0.11 - I always thought that's how it works based on https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-dependencies-from-cratesio Anyway, thanks once more for the tip ^^
Yeah, idk, I would say that it wouldn't update automatically if you previously downloaded 0.11.0
w/o a cargo update
, but it sounds like you upgraded straight to 0.11
so it should have downloaded 0.11.1
.
Anyway - since the fix has now been released in bevy_ecs_tilemap
version 0.11.1
, I'm going to close this issue.
Hello, loving the plugin btw
Environment:
On the first couple selections it works perfectly and loads all the neighboring levels and renders all the tiles. After a couple more selections the tile rendering just stops updating, it renders the tiles from a previous selection.
In the
bevy_editor_pls
hierarchy I can see that this plugin is still loading the levels correctly, with all the tile entities in there, but the render on my screen has been frozen to just show an earlier selection.These are my
LdtkSettings
:This is my code for loading the world bundle:
This is my code for selecting and loading levels: