i understand the limited case of a malfunction οn project opening as a bug of the gdevelop on saving, but… to zero bytes? i think that such a serious "decision"… and must have a “safety net” into gdevelop other than to always backup…
I’ve seen a potential bug fix for it, 14hours ago.
But anyway you should always do multiple copy of your project.
I’ve had a lot of files loss on software so I got into the habit of making manual copies very often.
The autosave is good think to enable it, but the safe way is always to copy manually yourself the file for a backup.
Have you press save between openning the project and export, or after the export ?
Because the game file isn’t save when you do an export.
Also the autosave is cool because when you do an preview the autosave is updated with the version of your project before the preview.
As long as you keep backups, you can recover your game, and we can investigate what’s going on, why the file gets deleted, what happens exactly and how to fix it. But without a backup, there’s not much we can do…
Of course, before opening a backup, you should make a backup of the file, to make sure you have a copy in safety.
That being said, this is the third report I see about an empty json file. It’s about as bad as a GDevelop bug could get.