bevy_ecs_tilemap
bevy_ecs_tilemap copied to clipboard
Update to Bevy 0.13
Opening this issue so we have a central place to talk about a release that supports Bevy 0.13.
bevy_ecs_tilemap
has not yet done a crates.io release that is compatible with Bevy 0.13. The latest release was compatible with Bevy 0.12.
Bevy 0.13 support has been merged into the main branch now though, and you can use bevy_ecs_tilemap
in your own projects without a crates.io release by doing the following in your Cargo.toml
:
bevy_ecs_tilemap = { git = "https://github.com/StarArawn/bevy_ecs_tilemap" }
Thanks @rparrett, I've used that branch to update bevy_ecs_ldtk
over here https://github.com/Trouv/bevy_ecs_ldtk/pull/302 and things look good in examples at least!
I added the above line to mein Cargo.toml. But still get these:
Compiling wgpu v0.17.2
error[E0432]: unresolved import `web_sys::GpuTextureFormat`
--> C:\Users\Jan\.cargo\registry\src\index.crates.io-6f17d22bba15001f\wgpu-0.17.2\src\backend\web.rs:168:9
|
168 | use web_sys::GpuTextureFormat as tf;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `GpuTextureFormat` in the root
I was directed here from https://github.com/StarArawn/bevy_ecs_tilemap/issues/488 Also i did not use the 'tilemap' before
It is likely that you have multiple versions of Bevy in your dependency tree still. (From your error message, wgpu 0.17
is associated with Bevy 0.12. Bevy 0.13 upgraded to wgpu 0.19
.) Perhaps another plugin also needs to be updated?
You can use cargo tree -i bevy
to figure out where those duplicates are coming from.
Any plans to publish 0.13 support on crates.io?
I have been using this for a few weeks and it works fine. If there are bugs (e.g., https://github.com/StarArawn/bevy_ecs_tilemap/issues/521) a fix can be published later.
Looks like there's already an approved PR for #521.
@StarArawn Thank you for your excellent work on this crate. Support for Bevy 0.13 appears to be ready but there has been no activity for a while.
I would really appreciate it if you published the latest changes so we don't need a git dependency and bevy_ecs_ldtk can also release.
Please let me know if I can help.
0.14 is published now. Thanks everyone!