Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

useGLTF: race conditions problem after add of autodispose #432

Open
5 tasks done
emavitta opened this issue May 29, 2024 · 1 comment · May be fixed by #433
Open
5 tasks done

useGLTF: race conditions problem after add of autodispose #432

emavitta opened this issue May 29, 2024 · 1 comment · May be fixed by #433

Comments

@emavitta
Copy link

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

Copy link

stackblitz bot commented May 29, 2024

Fix this issue in StackBlitz Codeflow Start a new pull request in StackBlitz Codeflow.

@emavitta emavitta linked a pull request May 29, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

1 participant