bevy
bevy copied to clipboard
Meshlet example is broken: MeshletMeshLoader expected asset version 3 but found version 2
Bevy version and features
main branch 3cb737f7a4b9776b2df99b51ec7b795b9d3bfb86
What you did
RUST_LOG="bevy=debug" cargo run --example meshlet --features "meshlet https free_camera"
What went wrong
Meshlet mesh failed to load:
2025-11-25T06:19:36.118651Z ERROR bevy_asset::server: Failed to load asset 'https://github.com/bevyengine/bevy_asset_files/raw/9bf88c42b9d06a3634eed633d90ce5fab02c31da/meshlet/bunny.meshlet_mesh' with asset loader 'bevy_pbr::meshlet::asset::MeshletMeshLoader': expected asset version 3 but found version 2
Yep we need to regenerate the asset after https://github.com/bevyengine/bevy/pull/21301. I had held off at the time under the assumption that I would do some more followup PRs, but that ended up not being the case.
https://github.com/bevyengine/bevy_asset_files/pull/5