drawcall / three.proton

three.proton is a magical 3d particle engine using three.js library. It is based on the Proton engine library.
https://drawcall.github.io/three.proton/
501 stars 50 forks source link

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

Open nrbrttth opened 2 months ago

nrbrttth commented 2 months ago

Hey @drawcall!

Getting the above warning when my scene loads. Don't even using anything from Proton, I'm only importing it and some class from three that I'm using:

import { Object3D, Vector3 } from "three"
// @ts-ignore
import Proton from "three.proton.js"

Tried with import * as THREE from "three" as well, same result.

My three version is 0.166.1

drawcall commented 2 months ago

mark