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

Unable to use versions before 2.8.0 #17

Open
Kaendor opened this issue Mar 1, 2024 · 3 comments
Open

Unable to use versions before 2.8.0 #17

Kaendor opened this issue Mar 1, 2024 · 3 comments

Comments

@Kaendor
Copy link

Kaendor commented Mar 1, 2024

Hi,

While I wait for some crates to adopt bevy latest version (0.13), I have to keep my game running before updating.

However for some reasons when I want to use your crate with the version 2.7.0, it uses the 2.8.0 version and create a bunch of problems with incompatibilities.

Maybe it's because there is no tag branch and only main...

Have a great day, thanks!

@FraserLee
Copy link
Owner

Hi, thanks for writing! That sounds like a really weird issue, I'd love to help solve it.

I've checked on crates.io, and it doesn't look like anything had overwritten 2.7.0 (for bevy 12) when 2.8.0 (for bevy 13) was released. The obvious first thing I'd suggest would be to clear out your packages cache to force cargo to completely redownload everything, then rebuild from scratch just in case something's messed up inside the system. If specifying bevy_sprite3d = "2.7.0" isn't enough, you could also use an exact commit hash with rev (though I can't imagine why the normal package version resolution wouldn't work).

Beyond, that I'm really not sure where things could even be going wrong. If your editor has the capabilities, maybe try to jump to code in the crate. You'll probably get a path looking something like

~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_sprite3d-2.7.0

if possible, could you check the version in the Cargo.toml inside that directory - just to be certain of the issue?

If you have any other info about your project, too, that could help; things like if you're including bevy_sprite3d directly in your Cargo.toml, or if it's a dependency of a dependency.

@Kaendor
Copy link
Author

Kaendor commented Mar 3, 2024

My first idea was to cargo clean , and indeed use and exact commit rev.
Except before 0.13, bevy main branch was followed and when I use a rev it's needing bevy-14-dev as a result.

I use your crate as a direct dependency of my project.

I check with cargo tree and bevy-13 is pulled by bevy_sprite3d 2.8.0.

@FraserLee
Copy link
Owner

I'm a little bit confused by this line

I check with cargo tree and bevy-13 is pulled by bevy_sprite3d 2.8.0

Just to make things completely clear, you're trying to use bevy = "0.12" with bevy_sprite3d = "2.7.0", right? 2.7.0 is the version for bevy 12, and 2.8.0 is for bevy 13. There's really no reason that setup should have any entry for bevy_sprite3d 2.8.0 when you run cargo tree.

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

2 participants