Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: Fatal: Ship hull variant CTD  (Read 3130 times)

behrooz

  • Ensign
  • *
  • Posts: 13
    • View Profile
Fatal: Ship hull variant CTD
« on: October 13, 2013, 05:06:45 PM »

So, I've been running into a CTD unpredictably when I take ships from the Abandoned Storage Facility and add them to my fleet.

Code
Fatal: Ship hull variant
[exported_variant_hammerhead_6d8ea2d8-b86f-45b6-b705-c75d077eedd9] not found!
Check starsector.log for more info.

Code
697111 [Thread-6] ERROR com.fs.starfarer.combat.String  - java.lang.RuntimeException: Ship hull variant [exported_variant_hammerhead_6d8ea2d8-b86f-45b6-b705-c75d077eedd9] not found!
java.lang.RuntimeException: Ship hull variant [exported_variant_hammerhead_6d8ea2d8-b86f-45b6-b705-c75d077eedd9] not found!
at com.fs.starfarer.loading.L.super(Unknown Source)
at com.fs.starfarer.loading.SpecStore.super(Unknown Source)
at com.fs.starfarer.campaign.fleet.FleetMember.super.float$Object(Unknown Source)
at com.fs.starfarer.campaign.fleet.FleetMember.<init>(Unknown Source)
at com.fs.starfarer.campaign.fleet.FleetMember.<init>(Unknown Source)
at com.fs.starfarer.codex.ui.Object.<init>(Unknown Source)
at com.fs.starfarer.codex.ui.E.super(Unknown Source)
at com.fs.starfarer.codex.ui.E.do.super(Unknown Source)
at com.fs.starfarer.codex.ui.E.øo0000(Unknown Source)
at com.fs.starfarer.coreui.B.actionPerformed(Unknown Source)
at com.fs.starfarer.ui.privatesuper.super(Unknown Source)
at com.fs.starfarer.ui.F.processInput(Unknown Source)
at com.fs.starfarer.ui.OoOo.o00000(Unknown Source)
at com.fs.starfarer.OoOO.øÒÒ000(Unknown Source)
at com.fs.super.oOOO.Ò00000(Unknown Source)
at com.fs.starfarer.combat.String.o00000(Unknown Source)
at com.fs.starfarer.StarfarerLauncher$2.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)

The only commonality I can think of is that any ship that has crashed has been running a custom variant.  I have been unable to replicate this crash by re-loading the last saves. 

Other possible risk factors:  I use the same save folder with separate starsector installs on multiple desktops via the magic of cloud storage, so I suspect something may be expected outside of the save when a custom variant is exported.

When a custom variant is exported, is it included in the savefile, or is that information expected somewhere else?
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24159
    • View Profile
Re: Fatal: Ship hull variant CTD
« Reply #1 on: October 13, 2013, 05:37:52 PM »

Thanks for the report.

When a custom variant is exported, is it included in the savefile, or is that information expected somewhere else?

Everything is in the savefile, so what you're doing *should* work fine.

I made a few tweaks that could possibly prevent this crash (I suspect it has to do with exporting a custom variant, and then possibly some combination of save/loading it), but I can't seem to reproduce it. The code looks like it's doing the right thing, too. If you do manage to figure out a way to reliably cause this, that would really help.
Logged