p5.glitch icon indicating copy to clipboard operation
p5.glitch copied to clipboard

Odd issue where adding a preload of 2 images causes glitch to no longer instantiate

Open ashleyjamesbrown opened this issue 5 months ago • 3 comments

TypeError: Cannot read properties of undefined (reading 'instance') at undefined:7:21

Using the webcam demo, add in a preload and load 2 images and then try and display them in the draw function and glitch will no longer connect and instantiate.

Repeated this several times. I can have one image (use the demo fish) and then it all goes broken. Delete the code and now the entire sketch no longer functions...

Any thoughts ?

ashleyjamesbrown avatar Sep 02 '24 09:09 ashleyjamesbrown