We were developing into the early this morning AMs, and i was trying to fix a bug with out dynamic corruptable object. Basically the stupid snake would spit out one of these objects and it would always be null( It turns out I had to use Load instead of Preload() for this case). Anyway while debugging this, a base object got corrupted and wouldnt open, even though its references were correct. I decided to try reloading Godot.
As soon as I reset, nothing would open, every file would say corrupted. I thought everything we did was basically for nothing and I just left the pc for a bit. Although the stakes we low and the game we made is kinda cheesy, I still felt horrible because it was my fault we lost our game the day before submission.
I eventually managed to fix it by deleting files causing some circular references (A could not open because B is corrupt, B could not open cause A is corrrupt, every scene used A and B), and the tilemap was completely messed up. All the levels were showing nonsense tiles. Eventually I fixed this too but I still have no idea what went wrong to begin with.
From then on it was backup the project every 20 minutes
This was our first time ever developing a game, so for sure we were doing things wrong, but next project I start is immediately starting out as a githb repo