Skip to content

Loading certain GLTF assets causes extreme lag #17877

Open
@ethereumdegen

Description

@ethereumdegen

Bevy version

0.15 -- this has happened since 0.12 and STILL happens

What you did

Load in certain GLTF models

What went wrong

There is a warning in the console while it loads
2025-02-16T01:22:29.929757Z WARN bevy_gltf::loader: Unknown vertex attribute COLOR_1
2025-02-16T01:22:29.992113Z WARN bevy_gltf::loader: Unknown vertex attribute COLOR_1
2025-02-16T01:22:29.992163Z WARN bevy_gltf::loader: Unknown vertex attribute COLOR_2
2025-02-16T01:22:29.998664Z WARN bevy_gltf::loader: Unknown vertex attribute COLOR_1
2025-02-16T01:22:29.998715Z WARN bevy_gltf::loader: Unknown vertex attribute COLOR_2
2025-02-16T01:22:30.001401Z WARN bevy_gltf::loader: Unknown vertex attribute COLOR_1
2025-02-16T01:22:30.010192Z WARN bevy_gltf::loader: Unknown vertex attribute COLOR_1
2025-02-16T01:22:30.010268Z WARN bevy_gltf::loader: Unknown vertex attribute COLOR_2

Then , in my game, i get 20 fps instead of 120 fps. And mind you the model isnt being rendered its just READY to be rendered. its loaded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-glTFRelated to the glTF 3D scene/model formatC-BugAn unexpected or incorrect behaviorC-PerformanceA change motivated by improving speed, memory usage or compile timesS-Needs-InvestigationThis issue requires detective work to figure out what's going wrongS-Waiting-on-AuthorThe author needs to make changes or address concerns before this can be merged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions