bevy_sprite3d icon indicating copy to clipboard operation
bevy_sprite3d copied to clipboard

Unable to use versions before 2.8.0

Open Kaendor opened this issue 11 months ago • 3 comments

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!

Kaendor avatar Mar 01 '24 20:03 Kaendor

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.

FraserLee avatar Mar 02 '24 07:03 FraserLee

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.

Kaendor avatar Mar 03 '24 10:03 Kaendor

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.

FraserLee avatar Mar 03 '24 22:03 FraserLee