Skip to content

animated_material and other examples are broken #17970

@rparrett

Description

@rparrett

Bevy version

main, bisected to #17898

[Optional] Relevant system information

SystemInfo { os: "macOS 15.3.1 Sequoia", kernel: "24.3.0", cpu: "Apple M4 Max", core_count: "16", memory: "64.0 GiB" }
AdapterInfo { name: "Apple M4 Max", vendor: 0, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Metal }

but this also reproduces in CI on linux/mac in the example report.

What you did

cargo run --example animated_material
cargo run --example specular_tint --features="pbr_specular_textures"
cargo run --example alien_cake_addict
cargo run --example texture

This list probably isn't comprehensive.

What went wrong

  • animated_material: Colors should be changing, but they stay the same.
  • specular_tint: Pressing space should to stuff, but it doesn't.
  • alien_cake_addict: Panics on game over. Start the game and just let it run until game over. (there may be a subtle issue with cake shadows, but the panic is a bit easier to notice) Can't be sure the panic reproduces in CI, it doesn't run long enough.
  • cargo run --example texture: The three textures should have transparency and two should have red/blue tints.
Expand alien_cake_addict panic
thread 'Compute Task Pool (7)' panicked at crates/bevy_pbr/src/material_bind_groups.rs:1618:9:
assertion failed: self.bind_groups[*binding_id.group as usize].is_none()
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Encountered a panic in system `bevy_render::render_asset::prepare_assets<bevy_pbr::material::PreparedMaterial<bevy_pbr::pbr_material::StandardMaterial>>`!

Additional information

These are not fixed by #17963, though that PR seems to fix other examples. (e.g. texture is clearly fixed by that PR).

I am not sure if this is a separate issue or if that fix is incomplete.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-BugAn unexpected or incorrect behaviorS-Needs-TriageThis issue needs to be labelled

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions