Something similar to this happened to me yesterday.
Studio kept failing to save / publish, and I just closed it and lost so much progress. A workaround I had to do was save the whole game as a file, then transfer almost all the assets and replace them in the original game.