Replies: 2 comments 3 replies
-
You may be missing a feature somewhere. What does your |
Beta Was this translation helpful? Give feedback.
-
yes i understand that, however even when i try and load a new project without any code I get the same errors. theres always an issue compiling the bevy_sprite package. heres the full error codes for more detail.
error[E0277]: the trait bound error[E0599]: the method error[E0277]: the trait bound error[E0277]: the trait bound |
Beta Was this translation helpful? Give feedback.
-
My code used to work fine however I randomly without changing anything get the following error,
error[E0277]: the trait bound texture_atlas::TextureAtlas: Asset is not satisfied --> /home/michael/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_sprite-0.13.2/src/bundle.rs:62:24 | 62 | pub texture_atlas: Handle<TextureAtlas>, | ^^^^^^^^^^^^^^^^^^^^ the trait
Assetis not implemented for texture_atlas::TextureAtlas | = help: the following other types implement trait
Asset: () LoadedFolder LoadedUntypedAsset Mesh SkinnedMeshInverseBindposes bevy_render::render_resource::Shader bevy_render::texture::Image color_material::ColorMaterial texture_atlas::TextureAtlasLayout note: required by a bound in
bevy_asset::Handle--> /home/michael/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_asset-0.13.2/src/handle.rs:125:20 | 125 | pub enum Handle<A: Asset> { | ^^^^^ required by this bound in Handle
Ive tried a completely fresh project and multiple bevy versions and still get this error.
Beta Was this translation helpful? Give feedback.
All reactions