Skip to content

Godot writes empty files when there is no space left on disk. #45354

Open
@CheesecakeCG

Description

@CheesecakeCG

Godot version: 3.2.4 beta 4 (It happens all the way back to 3.1 if I remember correctly, I forgot to report it then.)

OS/device including version:

Arch Linux (last updated 2021-1-18)
Intel i3-2100, AMD Radeon RX460, 5400rpm 250GB HDD with projects saved to a 50GB EXT4 partition.

Issue description:

When the drive containing the project runs out of disk space, when Godot attempts to save the a file, it overwrites the file with no contents. No error is displayed onscreen. Godot should not attempt write to the disk if there is no space left.

Steps to reproduce:
Fill up the drive with your Godot Project on it, then attempt to save.

Minimal reproduction project:

Only an "empty" project is needed, since project.godot gets wiped too.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Up for grabs

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions