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

TileStorage, TilemapSize, TileTextureIndex, TilePos are not Components anymore. #513

Closed
peregrine-l opened this issue Feb 10, 2024 · 2 comments

Comments

@peregrine-l
Copy link

I noticed that this crate is now compatible with Bevy 0.12, so I increased Bevy's version number in my Cargo.toml and ran cargo check. However, my code uses TileStorage, TilemapSize, TileTextureIndex and TilePos in many queries, and apparently, I cannot do that anymore, for they no more are Components. What is the rationale for this change? Is there a workaround?

@rparrett
Copy link
Collaborator

There hasn't been a crate.io release of bevy_ecs_tilemap that supports Bevy 0.12 yet. See #488.

The error you are seeing (random things no longer being components) is often indicative of there being multiple versions of Bevy in your dependency tree. A Bevy 0.11 Component is a different type than a Bevy 0.12 component.

Unless you're specifying this git repo in your Cargo.toml, bevy_ecs_tilemap is still pulling in Bevy 0.11.

@StarArawn
Copy link
Owner

v0.12.0 is out now this should be fixed.

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

3 participants