


Fixes a vanilla Sailwind bug that drops custom sails from owned boats left in the world when you sail on another vessel (anchored, moored, or at port).
Affects boats with modular parts and multiple mast configurations (often reported on the sanbuq).
On save (manual save, autosave, sleep), SaveableBoatCustomization.GetData() only serializes sails on masts where gameObject.activeInHierarchy is true. Inactive masts can still hold sails in memory. The save file then stores an empty or incomplete sail list. After reload, those boats spawn without sails.
Leaving and returning in the same session without saving does not trigger this code path; the problem appears after autosave (default: every 15 minutes) and the next load.
sceneIndex. If a save file already has zero sails, restores the last known good rig from cache (safety net only).BepInEx/plugins/.BepInEx/LogOutput.log for: Boat Sail Save Fix 1.0.0 loaded.This mod prevents new data loss. It does not edit save files on disk. For a save that already has no sails stored, either:
After one successful load with sails present, the session cache can cover empty entries until you fix the file.
Delete the BoatSailSaveFix folder from BepInEx/plugins/.
From the repository root:
dotnet build -c Release -p:SailwindDir="C:/Program Files (x86)/Steam/steamapps/common/Sailwind"
Copy bin/Release/netstandard2.0/BoatSailSaveFix.dll into BepInEx/plugins/BoatSailSaveFix/.
icon.png (256×256) is at the repository root..\build-thunderstore.ps1g1llez-BoatSailSaveFix-1.0.0.zip on Thunderstore (community: Sailwind).MIT — fix upstream in Sailwind is welcome; this mod can be retired when the vanilla bug is patched.