bevy icon indicating copy to clipboard operation
bevy copied to clipboard

Meshlet example is broken: MeshletMeshLoader expected asset version 3 but found version 2

Open beicause opened this issue 1 month ago • 2 comments

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

beicause avatar Nov 25 '25 06:11 beicause

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.

JMS55 avatar Nov 25 '25 14:11 JMS55

https://github.com/bevyengine/bevy_asset_files/pull/5

JMS55 avatar Nov 29 '25 16:11 JMS55