Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.98a is out! (03/27/25)

Author Topic: [0.98-RC8] intermittent campaign instance, saving corruption  (Read 234 times)

starficz

  • Lieutenant
  • **
  • Posts: 59
    • View Profile
[0.98-RC8] intermittent campaign instance, saving corruption
« on: April 29, 2025, 09:55:54 PM »

Ive gotten a very inconsistant save issue where it seems that randomly, a campaign instance will only save corrupted, unloadable saves.
Mods list:
Spoiler
{
  "enabledMods": [
    "aitweaks",
    "apex_design",
    "apex_design_peak",
    "lw_console",
    "dmodservices",
    "DetailedCombatResults",
    "diableavionics",
    "IndEvo",
    "kaleidoscope",
    "kazeron",
    "knights_of_ludd",
    "lw_lazylib",
    "lunalib",
    "MagicLib",
    "metallic_abyss",
    "ness_saw",
    "nexerelin",
    "officerExtension",
    "OnslaughtMk1Enhanced",
    "planet_search",
    "pt_qolpack",
    "assortment_of_things",
    "refitfilters",
    "SCY",
    "secretsofthefrontier",
    "shadow_ships",
    "swp",
    "speedUp",
    "underworld",
    "unthemedweaponsutils",
    "shaderLib",
    "ShipCatalogVariantEditor"
  ]
}
[close]
Here are 2 saves, saved half a day apart: https://drive.google.com/drive/folders/1j8Xgxy-6S8VsjH9HdIXyJ5PZ1v5NWt9J?usp=drive_link
the one thats a half day later wont load due to this error: https://pastebin.com/PD7Vpa6F (where both the bak and normal are the same corrupted save)

The intresting thing to me is that the error states: Cannot invoke "com.fs.starfarer.api.campaign.CampaignFleetAPI.getFleetData()" because "playerFleet" is null

this is probably casued by some mod, but what mod can make the player fleet be null? what even weireder is that when i get a campaign into this corrupted state where it only saves corrupted saves, the game is still entirerly playable.
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 25903
    • View Profile
Re: [0.98-RC8] intermittent campaign instance, saving corruption
« Reply #1 on: April 30, 2025, 08:23:53 AM »

Hmm, this is a *super* weird error to me - I checked the FleetMember class (which the error says the exception is occurring in) and the CampaignFleetAPI.getFleetData() method is not even called there at all.
Logged

starficz

  • Lieutenant
  • **
  • Posts: 59
    • View Profile
Re: [0.98-RC8] intermittent campaign instance, saving corruption
« Reply #2 on: April 30, 2025, 10:17:05 AM »

Ah through more binary mod enable/disable testing, it was indead a mod. Nothing to worry about here.
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 25903
    • View Profile
Re: [0.98-RC8] intermittent campaign instance, saving corruption
« Reply #3 on: April 30, 2025, 10:54:45 AM »

Not actually sure how a mod could even cause this, but: good to know, thank you :)
Logged

Kadra pilot for loot

  • Ensign
  • *
  • Posts: 3
    • View Profile
Re: [0.98-RC8] intermittent campaign instance, saving corruption
« Reply #4 on: May 02, 2025, 01:51:25 AM »

Ah through more binary mod enable/disable testing, it was indead a mod. Nothing to worry about here.
May ask which mods you disable that fix your current issue?
Logged