-
-
Notifications
You must be signed in to change notification settings - Fork 36k
Closed
Labels
Milestone
Description
Description
Was testing something and discovered one of my PNG files consistently crashed the renderer when used as a texture. The image isn't noteworthy in any way, just a screenshot from iOS.
I tried plenty of other images that all work fine. It is specifically only when I use this image that webGPURenderer crashes.
Reproduction steps
Client Error

Electron NodeJS error

Code
// Works totally fine if I use a different image 🤷♂️
const txtr = await new THREE.TextureLoader().loadAsync("https://storage.googleapis.com/soundsafari-email/misc-threejs-bug-example/IMG_7525.PNG");
let overlay = texture(txtr);
//...
const imageColor = overlay.sample(adjustedUV);
Live example
I tried to minimally reproduce this issue and ofc everything works? Perhaps it is a upstream chromium webGPU issue, I can try to update electron version tmmo and see if that bumps it away.
fiddle
Screenshots
No response
Version
174
Device
Desktop
Browser
Chrome
OS
MacOS