-
-
Notifications
You must be signed in to change notification settings - Fork 35.4k
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
lightNodeClass is not a constructor #29391
Comments
I couldn't reproduce the issue with a live example: https://jsfiddle.net/L684ue3b/ The fiddle uses the current Maybe it's a TS related issue? |
I figured it out - it occurs when you pass a legacy light to the seen, imported from “three” instara of “three/webgpu”. I’ll try adding an error message in a PR |
@LukeWood No need. three.js does not validate inputs. |
Related: I think this is not invalid user input, but another manifestation of #29156. If we can solve that the issue should go away. |
Totally agree that’s the best solution. I was actually considering forking three and doing that in my monorepo, so glad to know you all are looking into it. |
Description
This is coming from
setupLightsNode()
. My class is:Reproduction steps
Using three 0.168.0
Code
Live example
haven't produced yet
Screenshots
No response
Version
0.168.0
Device
Desktop
Browser
Chrome
OS
MacOS
The text was updated successfully, but these errors were encountered: