You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
p5.min.js:2 Uncaught TypeError: Cannot read properties of null (reading 'slice')
at i.value (p5.min.js:2:1025180)
at s.value (p5.min.js:2:1006042)
at l.default.RendererGL._drawImmediateFill (p5.min.js:2:900625)
at l.default.RendererGL.endShape (p5.min.js:2:896735)
at S.default.RendererGL.image (p5.min.js:2:769005)
at C.default.image (p5.min.js:2:638168)
at draw (drawing2.js:14:3)
at e.default.redraw (p5.min.js:2:542412)
at _draw (p5.min.js:2:467307)
Essentially I think the image command eventually calls setFillUniforms for framebuffers which expects a tint. If you remove the tint, we get an error.
Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, please make sure to fill out the inputs in the issue forms. Thank you!
Thanks @NavyaNayer! I'll assign this to you. Also as a heads up, we're going to be releasing p5 2.0 in the near future, and development for that is on the dev-2.0 branch currently. We definitely still want to fix bugs in 1.x on main, but once you've found out what's going on, it would also be great to also check if the problem also exists on 2.0, and if so, if your fix applies there too 🙂
Most appropriate sub-area of p5.js?
p5.js version
1.11.3
Web browser and version
Firefox 136.0.2
Operating system
Linux Ubuntu 24.04 LTS
Steps to reproduce this
Steps:
Console Error:
Essentially I think the image command eventually calls setFillUniforms for framebuffers which expects a tint. If you remove the tint, we get an error.
Snippet:
The text was updated successfully, but these errors were encountered: