Skip to content

Loading gltf models is painfully slow. #11637

Open

Description

Bevy version

0.12.0

[Optional] Relevant system information

If you cannot get Bevy to build or run on your machine, please include:
$ cargo --version
cargo 1.75.0 (1d8b05cdd 2023-11-20)

windows 11

AdapterInfo { name: "NVIDIA GeForce RTX 2060 with Max-Q Design", vendor: 4318, device: 7954, device_type: DiscreteGpu, driver: "", driver_info: "", backend: Dx12 }

What you did

Loading a scene using gltf

What went wrong

It took roughly 50 seconds to load a single model in release mode. By comparison, I loaded the same model here https://gltf-viewer.donmccurdy.com/ and takes less than a second to load.

Additional information

Here's the file I used. It's a model I exported from ue5. https://www.dropbox.com/scl/fi/ihcf4wttx1edc09gedoc6/idle_relaxed.glb?rlkey=jdsw4wm0ehjrof5m65ney4dvd&dl=0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    A-AssetsLoad files from disk to use for things like images, models, and soundsA-glTFRelated to the glTF 3D scene/model formatC-PerformanceA change motivated by improving speed, memory usage or compile times

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions