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

WGLMakie NaN error for 3D scatter plots #4808

Closed
bjarthur opened this issue Feb 19, 2025 · 2 comments · Fixed by #4809
Closed

WGLMakie NaN error for 3D scatter plots #4808

bjarthur opened this issue Feb 19, 2025 · 2 comments · Fixed by #4809
Labels

Comments

@bjarthur
Copy link
Contributor

on a 0-day master of Makie and a M2 apple silicon GPU i sometimes get the following javascript errors when rendering a 3D scatter plot in some production code:

Uncaught TypeError: n.toArray is not a function
    at as (454d14251abd5406c633fb77841dd6097a73cd86-wglmakie.bundled.js:9759:11)
    at yo.k_ [as setValue] (454d14251abd5406c633fb77841dd6097a73cd86-wglmakie.bundled.js:9979:13)
    at qi.upload (454d14251abd5406c633fb77841dd6097a73cd86-wglmakie.bundled.js:10152:39)
    at Fd (454d14251abd5406c633fb77841dd6097a73cd86-wglmakie.bundled.js:13117:628)
    at Ro.renderBufferDirect (454d14251abd5406c633fb77841dd6097a73cd86-wglmakie.bundled.js:12945:72)
    at tl (454d14251abd5406c633fb77841dd6097a73cd86-wglmakie.bundled.js:13073:450)
    at ks (454d14251abd5406c633fb77841dd6097a73cd86-wglmakie.bundled.js:13069:45)
    at el (454d14251abd5406c633fb77841dd6097a73cd86-wglmakie.bundled.js:13041:228)
    at Ro.render (454d14251abd5406c633fb77841dd6097a73cd86-wglmakie.bundled.js:13010:20)
    at render_scene (454d14251abd5406c633fb77841dd6097a73cd86-wglmakie.bundled.js:22949:18)

there is a simple fix to the THREE.js code we currently use, and i suspect upgrading to a more recent version will fix it too.

still haven't been able to come up with a MWE but will continue trying...

@SimonDanisch
Copy link
Member

Can you try #4809 ?

@bjarthur
Copy link
Contributor Author

yes, #4809 fixes #4808. thanks so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants