Skip to content

GLTF loading and animation performance regression #17535

Closed
@aloucks

Description

@aloucks

Bevy version

main
deb135c

Relevant system information

$ cargo --version -vvv
cargo 1.83.0 (5ffbef321 2024-10-29)
release: 1.83.0
commit-hash: 5ffbef3211a8c378857905775a15c5b32a174d3b
commit-date: 2024-10-29
host: x86_64-pc-windows-msvc
libgit2: 1.8.1 (sys:0.19.0 vendored)
libcurl: 8.9.0-DEV (sys:0.4.74+curl-8.9.0 vendored ssl:Schannel)
os: Windows 10.0.22631 (Windows 11 Professional) [64-bit]

What you did

cargo run --example scene_viewer --features animation assets/models/UndeadMale/scourgemale.gltf

What went wrong

The gltf file never finishes loading when running with the dev profile (or at least it takes a very very long time - I've killed the process after a few minutes). It will eventually load when running it with --release but it's slow and the animation playback is very choppy.

Additional information

The file loads nearly instantly with v0.15.1 and animation playback is smooth, even with the dev profile.

UndeadMale.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-AnimationMake things move and change over timeA-ECSEntities, components, systems, and eventsA-TransformTranslations, rotations and scalesC-BugAn unexpected or incorrect behaviorC-PerformanceA change motivated by improving speed, memory usage or compile timesP-CriticalThis must be fixed immediately or contributors or users will be severely impactedP-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

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions