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

WARNING: Multiple instances of Three.js being imported. #23

Open
kalwalt opened this issue May 18, 2021 · 4 comments
Open

WARNING: Multiple instances of Three.js being imported. #23

kalwalt opened this issue May 18, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@kalwalt
Copy link
Member

kalwalt commented May 18, 2021

I receive this warning i think it would be better to avoid it. I found this article in the Three.js forum https://discourse.threejs.org/t/warning-multiple-instances-of-three-js-being-imported/24191, not sure why it's happening.

@albjeremias
Copy link

I'm researching on this...

https://stackoverflow.com/questions/67271915/warning-multiple-instances-of-three-js-being-imported

It seems fixed in here: 0.128

mrdoob/three.js#17482

@kalwalt
Copy link
Member Author

kalwalt commented Oct 5, 2021

Thank you @albjeremias but ARnftThreejs already import version r128 see

"three": "^0.128.0"

But maybe the three.js lib inside the example not? I will check and test with a live package.

@kalwalt
Copy link
Member Author

kalwalt commented Oct 5, 2021

This issue i think happens now only when ARnft, ArnftThreejs and Three.js are imported as a module see for an example my project t ARnft-ES6-react you can test here https://kalwalt.github.io/ARnft-ES6-react/

@kalwalt
Copy link
Member Author

kalwalt commented Oct 11, 2021

i will move also this to the ARnft-threejs issue tracker, ARnft itself it's not the root of this because not load Three.js itself.

@kalwalt kalwalt transferred this issue from webarkit/ARnft Oct 11, 2021
@kalwalt kalwalt added the bug Something isn't working label Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants