File full of null bytes


Since Aseprite is available to the public, I’ve received only two three several bug reports (from Windows users) with saved files filled with null bytes (or at least that is what I remember), both reports happened in this month (one with .ase files and .png files, other one with a .ase file). I’m not sure if there is a new problem on the latest Windows version (10?) suspending the PC without syncing the file cache on disk, but I doubt it’s related to Aseprite itself (also it happened only on Windows).

Anyway if you find a similar situation, please reply to this post.

EDIT: Check these links:

Error Reading Header
My aseprite file is empty
Aseprite Announcements
Error reading headerError loading sprite from file

Uso windows 10, al cerrar el equipo normalmente me encuentro con un error que dice entre otras cosas “memory cannot be written”, es un error que parece bastante común pero no consigo encontrar una solución en google, además tampoco parece perjudicar a nada como otros programas o algoa así, simplemente aparece la ventanita y ya está.

Quizá este error en Aseprite este relacionado con eso.

I use windows 10, when closing the computer normally I encounter an error that says “memory can not be written”, is an error that seems quite common but I can not find a solution in google, nor does it seem to harm anything.

Maybe this bug in Aseprite is related to that.


Is this message displayed in a dialog box? Is it related to Aseprite (e.g. does it say “Aseprite” in its title bar)? Or just a generic message from Windows?


Okay, I’ll do a capture with my cell phone and I’ll upload it when I have one.


Ok is this, say explorer.exe in top of window


Thanks for the information @SynthED. I googled for a possible solution and found this thread, with a strange solution turning off the taskbar auto-hide feature, but it looks like a strange solution. There is this other discussion with more solutions.

Error Reading Header

It’s true, it’s the bar, I searched for the error using only “memory not written”.
Thank you!.


I’ve just added some information for the implementation/possible fix of this issue calling the FlushFileBuffers function after saving.