[0.14.22] Crash while loading a save while dead

This subforum contains all the issues which we already resolved.
Post Reply
Tron842
Burner Inserter
Burner Inserter
Posts: 12
Joined: Thu Feb 16, 2017 4:14 am
Contact:

[0.14.22] Crash while loading a save while dead

Post by Tron842 »

So I have an interesting one here.

Summary:
Game crashes on while loading a save file while the character is dead.

Steps to reproduce:
1. Load (or create) any save file that has been created while Additional-Turret_0.0.20 is installed
2. Have the character die (only tested via bitter death)
3. Use the dialog that appears to load *any* save file that has not had Additional-Turret_0.0.20 installed.
4. The game should hang for a short time then crash

Intended result:
The game should load the save file (or more specifically fail and go to the main menu since Additional-Turret's migration script is borked

Actual result:
Hard crash to desktop

Additional Information:
Additional-Turrets fails to load any saves it has not been created with. I originally discovered this with other mod's installed but was able to reproduce with only Additional turrets installed

Offending line:

Code: Select all

force.set_turret_attack_modifier("at_CR_turret", modifier[3])
img
Workaround:
Don't load a save from the death screen

Log file will be in follow up post (too long)

Edit: Forgot the file
Attachments
crash example.zip
Example of offending file
(1.32 MiB) Downloaded 80 times
Last edited by Tron842 on Wed Mar 01, 2017 3:30 am, edited 2 times in total.

Tron842
Burner Inserter
Burner Inserter
Posts: 12
Joined: Thu Feb 16, 2017 4:14 am
Contact:

Re: [0.14.22] Crash while loading a save while dead

Post by Tron842 »

Log

Rseding91
Factorio Staff
Factorio Staff
Posts: 13209
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.14.22] Crash while loading a save while dead

Post by Rseding91 »

This should be fixed in 0.15.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”