Skip to content

useGLTF: race conditions problem after add of autodispose #432

Open
@emavitta

Description

Describe the bug

I have multiple models paths in an array, and when i try to load them in a cycle, it only load one, it seems a race condition with dracoLoadernot being an async function.

Wrapping the dracoLoader in an async function seems to solve the problem, i'll provide a pr as soon as possibile.

Reproduction

https://stackblitz.com/edit/nuxt-starter-zbayq9?file=app.vue

Steps to reproduce

No response

System Info

No response

Used Package Manager

npm

Code of Conduct

Activity

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    • Status

      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions