scratchfoundation / scratch-gui

Graphical User Interface for creating and running Scratch 3.0 projects.
https://scratchfoundation.github.io/scratch-gui/develop/
BSD 3-Clause "New" or "Revised" License
4.43k stars 3.51k forks source link

Scratch Crashing while trying to render SVG #9594

Open ghost opened 5 months ago

ghost commented 5 months ago

Expected Behavior

The SVG costume should render and behave as usual

Actual Behavior

Scratches costume editor crashes along with the costume looking broken

Steps to Reproduce

Steps to reproduce the behavior:

  1. Go to 'https://scratch.mit.edu/...'
  2. Open up any Project
  3. Upload the compressed SVG
  4. See error

System Details

Appears to happen in using the Windows App and using a Chromium based browser (haven't tested to see if it happens on other platforms, but it most likely happens on them as well)

Screenshots Original SVG: 1C6 Compressed SVG (Loads fine in a browser, but not in scratch): 1C6 (1) What the compressed SVG looks like on stage: image