[0.5.1] Crash after corrupting a savefile

This subforum contains all the issues which we already resolved.
drs9999
Filter Inserter
Filter Inserter
Posts: 831
Joined: Wed Mar 06, 2013 11:16 pm
Contact:

[0.5.1] Crash after corrupting a savefile

Post by drs9999 »

Steps to reproduce:

1) Create a mod an write something stupid in the onsave-event. E.g. I used this for testing-purpose:

Code: Select all

a = "test"
	b=1
	c=b/a
2) start factorio, start/load a game and try to save it

3) game will crash "softly" - Errormessage will appear which specify the error

4) exit factorio/ return to main-menu and try to load a save-game

--> I will receive a "Content title"-error after I hit the load-game button, because factorio can not find the savefile in which you tried to save before. So the load-UI is not shown at all and factorio is closed.

I have to delete the related savefile and everything is fine again.
kovarex
Factorio Staff
Factorio Staff
Posts: 8298
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.5.1] Crash after corrupting a savefile

Post by kovarex »

The problem has been resolved (0.5.2), by deleting the save when it fails.
It is not perfect, as you can delete previously working save this way, but it is probably better than saving to different location and then copying, and spending even more time by the saving ....
Post Reply

Return to “Resolved Problems and Bugs”