Skip to content

WebGPU Renderer Crashout (Misc PNG File) #30804

@Bug-Reaper

Description

@Bug-Reaper

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

  1. Load as texture.
  2. webGPU crashout

Client Error

Image

Electron NodeJS error

Image

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions