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

Update to Bevy 0.14 #516

Closed
rparrett opened this issue Feb 21, 2024 · 7 comments
Closed

Update to Bevy 0.14 #516

rparrett opened this issue Feb 21, 2024 · 7 comments

Comments

@rparrett
Copy link
Collaborator

rparrett commented Feb 21, 2024

Opening this issue so we have a central place to talk about a release that supports Bevy 0.14.

bevy_ecs_tilemap has not yet done a crates.io release that is compatible with Bevy 0.14. The latest release was compatible with Bevy 0.12.

Bevy 0.14 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" }
@theshortcut
Copy link

Thanks @rparrett, I've used that branch to update bevy_ecs_ldtk over here Trouv/bevy_ecs_ldtk#302 and things look good in examples at least!

@nablabla
Copy link

nablabla commented Feb 22, 2024

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 #488
Also i did not use the 'tilemap' before

@rparrett
Copy link
Collaborator Author

rparrett commented Feb 22, 2024

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.

@OwenTrokeBillard
Copy link

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., #521) a fix can be published later.

@jgayfer
Copy link
Contributor

jgayfer commented Apr 21, 2024

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

@OwenTrokeBillard
Copy link

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

@ChristopherBiscardi
Copy link
Collaborator

0.14 is published now. Thanks everyone!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants
@theshortcut @rparrett @ChristopherBiscardi @nablabla @jgayfer @OwenTrokeBillard and others