#The same scene file keeps becoming invalid/corrupt.

4 messages · Page 1 of 1 (latest)

astral karma
#

For a game jam, I whipped together a quick game in a few days that I definitely could have coded better, but I coded more for efficiency than neatness. The game exported just fine and I was able to submit it, but I also wanted to edit my project afterwards outside of the jam so that I could improve the idea. When I reopened the project, however, my manager scene became corrupt. I had a backup as an exact copy, but it didn't fix it. In fact, it messed up the backup too, despite the fact that I didn't even edit the files in the backup, but rather just copied them over.

It's all good though, since only the scene file got corrupted and its very easy to remake. I would like to know why this keeps happening so that I can make changes to the code/project to prevent it from happening again. I'm a decently experienced programmer in general, but I'm new to Godot and I probably made a lot more programming errors than normal under the jam's time constraints. I can post more screenshots/info as needed. Thanks in advance.

#

Oh yeah, I also googled this problem and found a reddit forum where somebody said to reload the project. That worked once, but it still corrupted the next time i opened it. It also never worked again.

marsh fossil
#

I was getting this a lot too so I stopped using preload in my scripts and used load instead

#

Haven't encountered a corrupt scene since