Closed sp00ktober closed 2 years ago
More details regarding this issue. Error above is only a symptom. Real issue is that function IntoOtherSave is being called too early for new games. When loading and saving its called on initialized game state. But when its called on new save its called before anything is even initialized. This inconsistency is what causes error above. Fix is simple though:
change patch on function EnterGame from
[HarmonyPatch(typeof(UIGalaxySelect), "EnterGame")]
To
[HarmonyPatch(typeof(GameData), "NewGame")]
This will fix this issue.
Fixed by reuploading the mod under different name with the fix. https://dsp.thunderstore.io/package/CommonAPI/DSPModSave/
This error only happens when starting a new game.
(Error above related but the image below shows the issue) Mod is DSPSaveMod and afaik because
IntoOtherSave
is called too early