Skip to content

Fix boot crash when v8 saves are present#6157

Merged
serprex merged 1 commit intoHarbourMasters:developfrom
ShishuTheDragon:missing-filename-language-crash
Jan 18, 2026
Merged

Fix boot crash when v8 saves are present#6157
serprex merged 1 commit intoHarbourMasters:developfrom
ShishuTheDragon:missing-filename-language-crash

Conversation

@ShishuTheDragon
Copy link
Contributor

@ShishuTheDragon ShishuTheDragon commented Jan 18, 2026

This pull request fixes a crash in StartupCheckAndInitMeta when processing save files that lacked a filenameLanguage property (i.e. saves from before v9). The crash was happening when booting Ship.

Prior to #5817, these files were able to load fine, as SaveManager::LoadData was defaulting to 0 for this property. So, to mimic that behavior, I’ve changed the new code to also default to 0.

(For some reason, one of my save files was from v8.0.6. But this fix may help others with a lingering old save.)

Build Artifacts

@ShishuTheDragon ShishuTheDragon force-pushed the missing-filename-language-crash branch from 943f2c3 to 82a5d23 Compare January 18, 2026 07:43
@serprex serprex merged commit eab279c into HarbourMasters:develop Jan 18, 2026
6 checks passed
@ShishuTheDragon ShishuTheDragon deleted the missing-filename-language-crash branch January 19, 2026 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants