Repository navigation
Closed
Labels
A-RenderingDrawing game state to the screenDrawing game state to the screenC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorS-Needs-InvestigationThis issue requires detective work to figure out what's going wrongThis issue requires detective work to figure out what's going wrong
Description
current main: 3253ed4
is panicking on
bevy/crates/bevy_render/src/render_phase/mod.rs
Lines 308 to 311 in 3253ed4
| debug_assert_eq!( | |
| self.bin_metadata_buffer.values()[bin_metadata_index as usize].instance_count as usize, | |
| bin.entity_to_binned_mesh_instance_index.len() | |
| ); |
world_serialization and custom_skinned_mesh.
What you did
cargo run --example custom_skinned_mesh --features debug
cargo run --example world_serialization --features debug
What went wrong
panic where left is 1 greater than right. world_serialization is left:2, right 1. custom_skinned_mesh is:
2026-07-14T18:02:11.696455Z INFO bevy_winit::system: Creating new window custom_skinned_mesh (67v0)
thread 'Compute Task Pool (5)' (21234861) panicked at crates/bevy_render/src/render_phase/mod.rs:308:9:
assertion `left == right` failed
left: 11
right: 10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'Compute Task Pool (5)' (21234861) panicked at crates/bevy_ecs/src/error/handler.rs:141:1:
Encountered an error in system `bevy_pbr::material::queue_material_meshes`: System panicked
Encountered a panic in system `bevy_pbr::material::queue_material_meshes`!
thread 'Render thread' (21234967) panicked at crates/bevy_ecs/src/error/handler.rs:141:1:
Encountered an error in system `bevy_render::run_render_schedule`: Exclusive system panicked
Encountered a panic in system `bevy_render::run_render_schedule`!
Additional information
first encountered on the #24841 example runs after merging main
Metadata
Metadata
Assignees
Labels
A-RenderingDrawing game state to the screenDrawing game state to the screenC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorS-Needs-InvestigationThis issue requires detective work to figure out what's going wrongThis issue requires detective work to figure out what's going wrong
Type
Projects
- StatusShow more project fieldsDone
Activity
ChristopherBiscardi commentedon Jul 14, 2026
Bisected to #23662
alice-i-cecile commentedon Jul 14, 2026
cc @kfc35 @ChristopherBiscardi
pcwalton commentedon Jul 14, 2026
Does #24984 fix it?
ChristopherBiscardi commentedon Jul 14, 2026
yes it does
Fix the crash in Bistro by avoiding binning mesh instances multiple t…
Fix the crash in Bistro by avoiding binning mesh instances multiple t…