First Check
Description
Saved games often get corrupted when you chain-save, meaning create new saved games after loading a session.
(Create a save, load the save, and then create another save, load the new save, save more and so on)
This does not happen similarly in vanilla TS.
Chained saves are commonly used especially when people play difficult or long missions that are hard to beat in just one go, or with only 1 saved game. This bug makes such missions a poor experience as when losing to some AI attack in the late-game, the user's only valid saved game might be from half an hour or more prior.
Required Code (optional)
No response
Steps To Reproduce
This seems to be a common issue, giving several ways for reproducing this.
Method 1:
- Start any multiplayer scenario, settings don't matter (can even be 0 AI players)
- Deploy your MCV, build a Power Plant and a Barracks / Hand of Nod
- Build a Light Infantry
- Make the infantry force-fire at the ground
- Without ever telling the infantry to stop, create a save and load it
- Create another save and load it -> the game will give a swizzler error
Method 2:
- Start any multiplayer scenario, pick Nod as your faction. Other settings don't matter.
- Deploy your MCV, build a Power Plant and a Hand of Nod
- Build a Rocket Infantry
- Create a save and load it
- Find a tree, force-fire at it and destroy it
- Create another save and load it -> the game will give a swizzler error
Method 3:
- Start the Firestorm Nod campaign
- Save right during the intro
- Load the save you made
- Save again
- Load the new save you just made
- Keep repeating steps 4-5, iow. continue making new saves and loading them, without doing anything special in the game. The game will create a corrupted save typically after 2-10 cycles (sometimes even 2, often 4 is enough, but can take more), at which point loading will fail.
This has been preproduced with both the TS Client as well as Vanilla TS.
No interaction with units or other game mechanics is necessary for causing the save corruption issue. It also happens on other campaigns and missions, but for myself, based on quick testing, it seemed to happen fastest with the first Firestorm Nod mission.
Expected Behaviour
Chaining saved games should not lead to saved games getting corrupted.
Actual Behaviour
Chaining saved games makes them corrupted at some point.
Version
~b789478
Additional Context
I suspect this is a bug that was overlooked in the original extensions PR #896, because while people tested saves, chained saves most likely weren't tested enough. We first bumped into this while testing missions in DTA, in a "real-world" scenario.
From Bittah Commander on Mod Haven:
I tested chained saves with PR #898 and it also crashed
#889 didn't allow me to save and older ones can't be downloaded anymore
https://discord.com/channels/338055131666972683/826473223276986409/1058110660216639539
First Check
Description
Saved games often get corrupted when you chain-save, meaning create new saved games after loading a session.
(Create a save, load the save, and then create another save, load the new save, save more and so on)
This does not happen similarly in vanilla TS.
Chained saves are commonly used especially when people play difficult or long missions that are hard to beat in just one go, or with only 1 saved game. This bug makes such missions a poor experience as when losing to some AI attack in the late-game, the user's only valid saved game might be from half an hour or more prior.
Required Code (optional)
No response
Steps To Reproduce
This seems to be a common issue, giving several ways for reproducing this.
Method 1:
Method 2:
Method 3:
This has been preproduced with both the TS Client as well as Vanilla TS.
No interaction with units or other game mechanics is necessary for causing the save corruption issue. It also happens on other campaigns and missions, but for myself, based on quick testing, it seemed to happen fastest with the first Firestorm Nod mission.
Expected Behaviour
Chaining saved games should not lead to saved games getting corrupted.
Actual Behaviour
Chaining saved games makes them corrupted at some point.
Version
~b789478
Additional Context
I suspect this is a bug that was overlooked in the original extensions PR #896, because while people tested saves, chained saves most likely weren't tested enough. We first bumped into this while testing missions in DTA, in a "real-world" scenario.
From Bittah Commander on Mod Haven:
https://discord.com/channels/338055131666972683/826473223276986409/1058110660216639539