Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)BA
babydriver @lemmy.ml
Posts 1
Comments 15

Answering the Most Googled Questions: Palestine 🇵🇸 vs Israel 🇮🇱

0
Bevy: How to Load Multiple Texture Atlases
  • ok so I'm out of the bath.

    #[derive(SystemParam)]
    pub struct Sprite3dParams<'w, 's> {
        pub meshes    : ResMut<'w, Assets<Mesh>>,
        pub materials : ResMut<'w, Assets<StandardMaterial>>,
        pub images    : ResMut<'w, Assets<Image>>,
        pub atlases   : ResMut<'w, Assets<TextureAtlas>>,
        pub sr        : ResMut<'w, Sprite3dRes>,
        #[system_param(ignore)]
        marker: PhantomData<&'s usize>,
    }
    

    It seems like Sprite3dParams is already accessing Assets<TextureAtlas> which is why you get the the error. So you need to either remove texture_atlases or sprite_params. in your system.

    have you looked at this example? I won't be much help sorry :(