bevy_ecs_tilemap icon indicating copy to clipboard operation
bevy_ecs_tilemap copied to clipboard

Update to Bevy 0.13

Open rparrett opened this issue 1 year ago • 5 comments

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" }

rparrett avatar Feb 21 '24 23:02 rparrett

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!

theshortcut avatar Feb 21 '24 23:02 theshortcut

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

nablabla avatar Feb 22 '24 00:02 nablabla

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.

rparrett avatar Feb 22 '24 00:02 rparrett

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.

OwenTrokeBillard avatar Apr 13 '24 22:04 OwenTrokeBillard

Looks like there's already an approved PR for #521.

jgayfer avatar Apr 21 '24 05:04 jgayfer

@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.

OwenTrokeBillard avatar May 09 '24 06:05 OwenTrokeBillard

0.14 is published now. Thanks everyone!

ChristopherBiscardi avatar Jul 21 '24 23:07 ChristopherBiscardi