Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); In-development patch notes for Starsector 0.98a (2/8/25)

Author Topic: Corrupted save??  (Read 1978 times)

TinchoX

  • Ensign
  • *
  • Posts: 12
    • View Profile
Corrupted save??
« on: February 28, 2022, 12:32:49 PM »

Was playing just fine yesterday, today I load my save and about 10% of the loading bar I get this, it is NOT the first time I get my save corrupted randomly, I've lost a lot of progress in the last few months thanks to this stupid bug:
[Modded gameplay by the way, works fine until it randomly doesn't  :(]

Spoiler
---- Debugging information ----
message             : Failed calling method
cause-exception     : java.lang.NullPointerException
cause-message       : null
method              : com.fs.starfarer.campaign.fleet.FleetMember.readResolve()
class               : com.fs.starfarer.campaign.fleet.FleetMember
required-type       : com.fs.starfarer.campaign.fleet.FleetMember
converter-type      : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
line number         : 41585
class[1]            : java.util.ArrayList
converter-type[1]   : com.thoughtworks.xstream.converters.collections.CollectionConverter
class[2]            : com.fs.starfarer.campaign.fleet.FleetData
class[3]            : com.fs.starfarer.campaign.fleet.CampaignFleet
class[4]            : com.fs.starfarer.campaign.CharacterStats
class[5]            : com.fs.starfarer.rpg.Person
class[6]            : com.fs.starfarer.campaign.econ.Market
class[7]            : com.fs.starfarer.campaign.CustomCampaignEntity
class[8]            : com.fs.util.container.repo.ObjectRepository
class[9]            : com.fs.starfarer.campaign.StarSystem
class[10]           : com.fs.starfarer.campaign.CampaignPlanet
class[11]           : com.fs.starfarer.campaign.CircularOrbit
class[12]           : exerelin.campaign.intel.fleets.NexOrganizeStage
class[13]           : exerelin.campaign.intel.raid.NexRaidIntel
class[14]           : java.util.LinkedList
class[15]           : exerelin.campaign.econ.RaidCondition
class[16]           : com.fs.starfarer.campaign.econ.MarketCondition
class[17]           : com.fs.starfarer.api.impl.campaign.events.OfficerManagerEvent$AvailableOfficer
class[18]           : com.fs.starfarer.api.impl.campaign.events.OfficerManagerEvent
class[19]           : java.util.LinkedHashMap
converter-type[2]   : com.thoughtworks.xstream.converters.collections.MapConverter
class[20]           : com.fs.starfarer.campaign.rules.Memory
class[21]           : com.fs.starfarer.campaign.CommDirectoryEntry
class[22]           : com.fs.starfarer.campaign.CommDirectory
class[23]           : java.util.HashMap
class[24]           : exerelin.campaign.ColonyManager
class[25]           : java.util.LinkedHashSet
class[26]           : com.fs.starfarer.api.impl.campaign.econ.impl.IndEvo_ScrapYard
class[27]           : com.fs.starfarer.loading.specs.FactionProduction
class[28]           : com.fs.starfarer.campaign.Faction
class[29]           : com.fs.starfarer.campaign.econ.Submarket
class[30]           : com.fs.starfarer.campaign.econ.reach.ReachEconomy
class[31]           : com.fs.starfarer.campaign.econ.reach.ReachEconomyStepper
class[32]           : com.fs.starfarer.campaign.econ.Economy
class[33]           : com.fs.starfarer.campaign.StarSystem$UpdateFromHyperspaceLocation
class[34]           : com.fs.starfarer.campaign.BaseLocation$LocationToken
class[35]           : com.fs.starfarer.campaign.Hyperspace
class[36]           : com.fs.starfarer.campaign.CampaignEngine
converter-type[3]   : com.fs.starfarer.campaign.save.oooO
version             : not available
[close]

Mods I'm using:
Spoiler
"enabledMods": [
  "badgesector",
  "yunrutechmining",
  "yunruindustries",
  "pantera_ANewLevel40",
  "anotherportraitpack",
  "armaa",
  "raccoonarms",
  "AttunedDriveField",
  "lw_autosave",
  "battlefleets",
  "battletechportraitpack",
  "timid_admins",
  "better_deserving_smods",
  "beyondthesector",
  "BSC",
  "HMI_brighton",
  "CWSP",
  "CaptainsLog",
  "capturecrew",
  "Csp",
  "CSP",
  "Celestial Mount Circle",
  "seven_nexus",
  "clearCommands",
  "chatter",
  "timid_commissioned_hull_mods",
  "su_Concord",
  "lw_console",
  "domain_mship_controllable",
  "diyplanets",
  "istl_dassaultmikoyan",
  "hm_flagpack",
  "dronelib",
  "dynamictariffs",
  "Everybody loves KoC",
  "exshippack",
  "fast_engine_rendering",
  "HHE",
  "fleetsizebydp",
  "fluffships",
  "sun_flux_reticle",
  "forge_production",
  "sun_fuel_siphoning",
  "GachaSMods",
  "gflportraitpack",
  "gflportraitpack2",
  "GrandColonies",
  "gundam_uc",
  "HMI_SV",
  "HMI",
  "gunnyhegexpeditionary",
  "HexShields",
  "hte",
  "hostileIntercept",
  "sun_hyperdrive",
  "hyperionsystems",
  "IndEvo",
  "timid_xiv",
  "jaa",
  "JYD",
  "kadur_remnant",
  "kazeron",
  "LTA",
  "lw_lazylib",
  "ArkLeg",
  "lockedAndLoaded",
  "logisticsNotifications",
  "idx_magnetar",
  "mag_protect",
  "MagicLib",
  "Mayasuran Navy",
  "more_hullmods",
  "more_ship_names",
  "sun_new_beginnings",
  "nexerelin",
  "kayse_phaseships",
  "old_hyperion",
  "JYDR",
  "ORA",
  "pn",
  "planet_search",
  "yunru_player_crew_dassaultmikoyan",
  "yunru_player_crew_hegemony",
  "yunru_player_crew_iron_shell",
  "yunru_player_crew_church",
  "yunru_player_crew_path",
  "yunru_player_crew_no_such_org",
  "yunru_player_crew_league",
  "yunru_player_crew_pirate",
  "yunru_player_crew_sindrian",
  "yunru_player_crew_tritachyon",
  "yunru_player_crew_vic",
  "PulseIndustry",
  "pt_qolpack",
  "QualityCaptains",
  "yunru_pilot_radiant",
  "remnant_command_transfer",
  "roider",
  "rotcesrats",
  "sun_ruthless_sector",
  "scy_bluesky",
  "SCY",
  "Seafood",
  "secretsofthefrontieralt",
  "SEEKER",
  "shadow_ships",
  "holdsforall",
  "swp",
  "simpleplayerflags",
  "speedUp",
  "sun_starship_legends",
  "stelnet",
  "StopGapMeasures3",
  "superweapons",
  "timid_supply_forging",
  "tahlan",
  "Terraforming & Station Construction",
  "exalted",
  "star_federation",
  "transpoffder",
  "underworld",
  "US",
  "ungp",
  "UGH",
  "URW",
  "va11portraits",
  "vic",
  "vanidad",
  "vayrashippack",
  "weftinships",
  "XhanEmpire",
  "yunru_arsenal",
  "yunruhullmods",
  "yunru_midline_expansion",
  "yunru_misc_ships",
  "yunru_pirate_collection",
  "yunrucore",
  "audio_plus",
  "mir_np",
  "astroidships",
  "prv",
  "shaderLib"
[close]

Any idea what it could be??
« Last Edit: February 28, 2022, 12:36:27 PM by TinchoX »
Logged

Histidine

  • Admiral
  • *****
  • Posts: 4974
    • View Profile
    • GitHub profile
Re: Corrupted save??
« Reply #1 on: March 01, 2022, 12:13:19 AM »

Could post (a zip of) the full log somewhere; there's some stuff after (and maybe before?) that error that might help find the issue.
Logged

TinchoX

  • Ensign
  • *
  • Posts: 12
    • View Profile
Re: Corrupted save??
« Reply #2 on: March 01, 2022, 01:19:34 AM »

Could post (a zip of) the full log somewhere; there's some stuff after (and maybe before?) that error that might help find the issue.

Can do:

Last session's log:
https://drive.google.com/file/d/1vFiInUT4BgNewGTDuK7W3Vfjqp64kabo

The whole log:
https://drive.google.com/file/d/1kA6JeXO51kwfc463p388mBHFfJbeMSzT

Hope this is what you are asking for.

I did start another save without Industrial Evolution since that name (I believe?) came out in the log I posted previously, but oh what do you know, I got the same (or similar) save corruption, AGAIN!

On a side note, this part of the log caught my attention... it's probably nothing though:

Spoiler
370680 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading CSV data from [DIRECTORY: C:\Games\Starsector\starsector-core\..\mods\HexShields]
370686 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Games\Starsector\starsector-core\..\mods\QoLPack (QoLPack.ini)]
370703 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Games\Starsector\starsector-core\..\mods\QoLPack (QoLPack.ini)]
370709 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Games\Starsector\starsector-core\..\mods\QoLPack (QoLPack.ini)]
370711 [Thread-3] INFO  org.histidine.chatter.combat.ChatterCombatPlugin  - Chatter plugin initialized
370718 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Games\Starsector\starsector-core\..\mods\QoLPack (QoLPack.ini)]
370881 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Games\Starsector\starsector-core\..\mods\Flux Reticle (FLUX_RETICLE_OPTIONS.ini)]
407892 [Thread-3] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading ..\\saves/save_Helen_1637223749069981554...
408370 [Thread-3] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 2
408370 [Thread-3] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 3
408574 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading CSV data from [DIRECTORY: C:\Games\Starsector\starsector-core\..\mods\Roider Union]
411009 [Thread-3] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Error loading
411009 [Thread-3] ERROR com.fs.starfarer.campaign.save.CampaignGameManager  - Failed calling method
[close]
« Last Edit: March 01, 2022, 01:24:36 AM by TinchoX »
Logged

Histidine

  • Admiral
  • *****
  • Posts: 4974
    • View Profile
    • GitHub profile
Re: Corrupted save??
« Reply #3 on: March 01, 2022, 01:29:58 AM »

Thanks!

Looks like an issue with the Silvervale in one of Yunru's mods. I've notified 'em about it, in the meantime you could try updating the mod(s) involved.
Logged

TinchoX

  • Ensign
  • *
  • Posts: 12
    • View Profile
Re: Corrupted save??
« Reply #4 on: March 01, 2022, 01:43:29 AM »

Thanks!

Looks like an issue with the Silvervale in one of Yunru's mods. I've notified 'em about it, in the meantime you could try updating the mod(s) involved.

Thank you for the info, is there any hope of recovering this save??
Logged

Yunru

  • Admiral
  • *****
  • Posts: 1567
    • View Profile
Re: Corrupted save??
« Reply #5 on: March 01, 2022, 02:32:26 AM »

That... Shouldn't be happening with the released versions. Where did you get your versions of core and hullmods from?

I'll (hope to) have a fix up shortly regardless.

Update: Still not sure what the issue is, but try updating to these versions:
https://drive.google.com/file/d/17DMin8QwmD4iMkkSHzzQm4f1vKC1KzJh/view?usp=sharing

TinchoX

  • Ensign
  • *
  • Posts: 12
    • View Profile
Re: Corrupted save??
« Reply #6 on: March 01, 2022, 04:12:36 AM »

That... Shouldn't be happening with the released versions. Where did you get your versions of core and hullmods from?

I'll (hope to) have a fix up shortly regardless.

Update: Still not sure what the issue is, but try updating to these versions:
https://drive.google.com/file/d/17DMin8QwmD4iMkkSHzzQm4f1vKC1KzJh/view?usp=sharing

From your patreon site, I believe?


I'll try the ones you provided above, thank you.


Edit: No dice, my save is dead, starting another one....
« Last Edit: March 01, 2022, 04:46:25 AM by TinchoX »
Logged

Histidine

  • Admiral
  • *****
  • Posts: 4974
    • View Profile
    • GitHub profile
Re: Corrupted save??
« Reply #7 on: March 01, 2022, 04:34:31 PM »

It's possible some other mod contains part or all of the Yunru code and is being loaded first (but who and why?)

Alternatively, it's a long shot too but try a clean reinstall of the Yunru mods (delete old folders) (this is how mods should be installed pretty much always, anyway)
Logged

Thaago

  • Global Moderator
  • Admiral
  • *****
  • Posts: 7764
  • Harpoon Affectionado
    • View Profile
Re: Corrupted save??
« Reply #8 on: March 01, 2022, 08:03:17 PM »

Have you tried using the backup save? It might be that the bug is avoidable that way.
Logged

TinchoX

  • Ensign
  • *
  • Posts: 12
    • View Profile
Re: Corrupted save??
« Reply #9 on: March 01, 2022, 11:49:39 PM »

Have you tried using the backup save? It might be that the bug is avoidable that way.

That was the first thing I tried, but all the saves; except for the very early few; gave me the same error when loading, I believe the bug in question was a hullmod from Yunru.

Starting a new save, I will avoid said hullmod like the plague, hopefully I will not have to restart all over again for the ... 12th time or so.

Thank you for asking.

Edit: WELP... I have yet another bug after updating/deleting a few mods, no matter what I do I can't seem to start a new save, I think I'm gonna take a break from this game, it's not doing me any good lately.

I'll leave this here in case anybody has a clue as to what THE HELL is afflicting my game:

« Last Edit: March 02, 2022, 03:47:45 AM by TinchoX »
Logged

TinchoX

  • Ensign
  • *
  • Posts: 12
    • View Profile
Re: Corrupted save??
« Reply #11 on: March 02, 2022, 02:30:53 PM »

Update YunruCore.

Thank you, that seem to have fixed the issue.
Logged