Skip to content

Children in spawned gltf scenes are incorrectly ordered #17720

Closed
@rparrett

Description

@rparrett

Bevy version

main, bisected to #17687

Relevant system information

SystemInfo { os: "macOS 15.3 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 }

Also failing on linux/mac in the example runner.

What you did

cargo run --example gltf_skinned_mesh

What went wrong

thread 'Compute Task Pool (1)' panicked at examples/animation/gltf_skinned_mesh.rs:61:68:
called `Result::unwrap()` on an `Err` value: QueryDoesNotMatch(12v1 with components Transform, GlobalTransform, Visibility, InheritedVisibility, ViewVisibility, VisibilityClass, ChildOf, PreviousGlobalTransform, Mesh3d, SkinnedMesh, Name, MeshMaterial3d<StandardMaterial>, Aabb)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Encountered a panic in system `gltf_skinned_mesh::joint_animation`!
Encountered a panic in system `bevy_app::main_schedule::Main::run_main`!

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ECSEntities, components, systems, and eventsA-ScenesSerialized ECS data stored on the diskA-glTFRelated to the glTF 3D scene/model formatC-BugAn unexpected or incorrect behaviorD-ComplexQuite challenging from either a design or technical perspective. Ask for help!S-Needs-DesignThis issue requires design work to think about how it would best be accomplished

    Type

    No type

    Projects

    Status

    Responded

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions