Closed
Description
Tested versions
- Not reproducible in v4.2.1.stable.official [b09f793]: The project correctly imports the SVG file.
- Reproducible in v4.3.stable.official [77dcf97]: Godot crashes while trying to import the SVG file.
- Reproducible in v4.4.dev3.official [f4af820] (the latest version): Godot crashes while trying to import the SVG file.
System information
Windows 11, 32GB RAM 3200 MHz operating on 2666 MT/s, RX 580 8GB, Ryzen 5 1600
Issue description
Godot crashes while trying to import a SVG file that contains an image.
I think it is possibly because SVGs are supposed to be small files but the image increases a lot the required amount of memory needed to import it.
In the MRP I included two versions of the SVG:
hand_with_reference_image.svg
hand_without_reference_image.svg
They are basically the same but one does not have the reference image.
Observe that the one with the image is 110kb larger than the one who has not.
Steps to reproduce
- Open MRP with Godot v4.3.stable.official [77dcf97] or v4.4.dev3.official [f4af820]
- Observe that Godot crashes
- Open MRP with v4.2.1.stable.official [b09f793]
- Observe that Godot successfully imports the SVG ignoring the image and the
.godot
folder is updated with SVG importing data - Open MRP again with Godot v4.3.stable.official [77dcf97] or v4.4.dev3.official [f4af820]
- Observe that Godot successfully opens the project and SVGs because the
.godot
already exists - If you delete the
.godot
folder the problem comes back