Skip to content

bevy_city crash in buffer_vec after GPU data update through shared memory #23134

@mockersf

Description

@mockersf

Bevy version and features

What you did

cargo run --release --package bevy_city

What went wrong

thread 'Compute Task Pool (3)' (20073179) panicked at bevy/crates/bevy_render/src/render_resource/buffer_vec.rs:351:41:
index out of bounds: the len is 12232 but the index is 12232
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Encountered a panic in system `bevy_pbr::render::mesh::collect_meshes_for_gpu_building`!
Encountered a panic in system `bevy_render::run_render_schedule`!

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behaviorP-CrashA sudden unexpected crashP-RegressionFunctionality that used to work but no longer does. Add a test for this!S-Needs-InvestigationThis issue requires detective work to figure out what's going wrong

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions