Kerbal Space Program

Kerbal Space Program

arko7 May 3, 2023 @ 7:01am
B9 Part Switch fatal error. [SOLVED]
I've done everything I could. Updated B9PartSwitch, ModuleManager, Majority of my mods... nothing. There's the log from B9:

B9PartSwitch has encountered a fatal error and KSP needs to close.

Fatal exception while loading fields on module ModuleB9PartSwitch on part
Exception while loading field subtypes on type B9PartSwitch.ModuleB9PartSwitch
Exception while loading fields on subtype PartSubtype Essentials
Exception while loading field tankType on type B9PartSwitch.PartSubtype
No tank type named 'SEPSupplyEssentials' exists

Please see KSP's log for additional details

Also screenshot from in-game:
https://steamcommunity.com/sharedfiles/filedetails/?id=2970857523
Any help is appreciated, I can also copy and pase KSP log on request. Everything was working before the final updates of KSP.
Last edited by arko7; May 3, 2023 @ 3:32pm
Originally posted by Manwith Noname:
Originally posted by arko7:
Any help is appreciated, I can also copy and pase KSP log on request. Everything was working before the final updates of KSP.

Ok, some things come to mind here...

1) Did you check for mod updates after the game was updated.
2) Do not copy your log and paste it here but do recreate the problem, close the game and paste the contents of your KSP.log to a site like pastebin.com then provide a link to the paste here. That could be helpful if other parts of this comment do not apply / resolve the problem.
3) Read / search the log youself for "[exc" without the quotes. Look around the results for clues.
4) Have you tried running the game outisde of Steam directly from the executable?

5) Based on the message, I suspect it's an issue with "Starship Expansion Project" or a patch relating to it.

Edit: On hunch number 5, I looked at the current GitHub repo for the mod and found the patches for that tank sub type should only apply if Kerbalism is present.

Another edit: Oh, also, it looks like potentially the patch to add that subtype to a part may fail if Pathfinder or Realism Overhaul are installed but this kinda shouldn't matter. The actual subtype config just requires Kerbalism.

Yet another edit: So I would say, make sure this file[github.com] exists in your install and go form there.
< >
Showing 1-8 of 8 comments
Little908 May 3, 2023 @ 8:04am 
What I did is just delete the mod thats apparently not there. In this case, my guess is the “part subtype essentials”
Also the screenshot doesn’t work
Last edited by Little908; May 3, 2023 @ 8:04am
arko7 May 3, 2023 @ 8:29am 
Originally posted by 『 Little 』⌈908⌋:
What I did is just delete the mod thats apparently not there. In this case, my guess is the “part subtype essentials”
Also the screenshot doesn’t work
The screenshot is just what I've written, but I changed it to "public" now anyway.
The author of this thread has indicated that this post answers the original topic.
Manwith Noname May 3, 2023 @ 12:03pm 
Originally posted by arko7:
Any help is appreciated, I can also copy and pase KSP log on request. Everything was working before the final updates of KSP.

Ok, some things come to mind here...

1) Did you check for mod updates after the game was updated.
2) Do not copy your log and paste it here but do recreate the problem, close the game and paste the contents of your KSP.log to a site like pastebin.com then provide a link to the paste here. That could be helpful if other parts of this comment do not apply / resolve the problem.
3) Read / search the log youself for "[exc" without the quotes. Look around the results for clues.
4) Have you tried running the game outisde of Steam directly from the executable?

5) Based on the message, I suspect it's an issue with "Starship Expansion Project" or a patch relating to it.

Edit: On hunch number 5, I looked at the current GitHub repo for the mod and found the patches for that tank sub type should only apply if Kerbalism is present.

Another edit: Oh, also, it looks like potentially the patch to add that subtype to a part may fail if Pathfinder or Realism Overhaul are installed but this kinda shouldn't matter. The actual subtype config just requires Kerbalism.

Yet another edit: So I would say, make sure this file[github.com] exists in your install and go form there.
Last edited by Manwith Noname; May 3, 2023 @ 12:29pm
arko7 May 3, 2023 @ 2:18pm 
Originally posted by Manwith Noname:
Originally posted by arko7:
Any help is appreciated, I can also copy and pase KSP log on request. Everything was working before the final updates of KSP.

Ok, some things come to mind here...

1) Did you check for mod updates after the game was updated.
2) Do not copy your log and paste it here but do recreate the problem, close the game and paste the contents of your KSP.log to a site like pastebin.com then provide a link to the paste here. That could be helpful if other parts of this comment do not apply / resolve the problem.
3) Read / search the log youself for "[exc" without the quotes. Look around the results for clues.
4) Have you tried running the game outisde of Steam directly from the executable?

5) Based on the message, I suspect it's an issue with "Starship Expansion Project" or a patch relating to it.

Edit: On hunch number 5, I looked at the current GitHub repo for the mod and found the patches for that tank sub type should only apply if Kerbalism is present.

Another edit: Oh, also, it looks like potentially the patch to add that subtype to a part may fail if Pathfinder or Realism Overhaul are installed but this kinda shouldn't matter. The actual subtype config just requires Kerbalism.

Yet another edit: So I would say, make sure this file[github.com] exists in your install and go form there.
By saying "exists in your install" you mean I have to put it inside B9PartSwitch?
Last edited by arko7; May 3, 2023 @ 2:39pm
Manwith Noname May 3, 2023 @ 2:57pm 
Nah, the mod Starship Expansion Project should contain that config file...although really it doesn't matter where it is for this particular problem.

The error says "No tank type named 'SEPSupplyEssentials' exists". I'm pretty sure this means a part is configured to use that tanktype but B9 can't find the definition (part of that file). This is the code snippet for where that tank type is defined for B9 to recognise and understand it.

B9_TANK_TYPE:NEEDS[Kerbalism] { name = SEPSupplyEssentials tankMass = 0.0015 tankCost = 1.2 RESOURCE { name = Food unitsPerVolume = 0.36 } RESOURCE { name = Water unitsPerVolume = 0.14 } RESOURCE { name = Oxygen unitsPerVolume = 40.4 } RESOURCE { name = Nitrogen unitsPerVolume = 32.9 } }
walkingwiki686 May 3, 2023 @ 3:03pm 
Originally posted by arko7:
I've done everything I could. Updated B9PartSwitch, ModuleManager, Majority of my mods... nothing. There's the log from B9:

B9PartSwitch has encountered a fatal error and KSP needs to close.

Fatal exception while loading fields on module ModuleB9PartSwitch on part
Exception while loading field subtypes on type B9PartSwitch.ModuleB9PartSwitch
Exception while loading fields on subtype PartSubtype Essentials
Exception while loading field tankType on type B9PartSwitch.PartSubtype
No tank type named 'SEPSupplyEssentials' exists

Please see KSP's log for additional details

Also screenshot from in-game:
https://steamcommunity.com/sharedfiles/filedetails/?id=2970857523
Any help is appreciated, I can also copy and pase KSP log on request. Everything was working before the final updates of KSP.
I've been having this problem a lot too, usually with starship expansion project "lqdmethane"
arko7 May 3, 2023 @ 3:06pm 
Originally posted by Manwith Noname:
Nah, the mod Starship Expansion Project should contain that config file...although really it doesn't matter where it is for this particular problem.

The error says "No tank type named 'SEPSupplyEssentials' exists". I'm pretty sure this means a part is configured to use that tanktype but B9 can't find the definition (part of that file). This is the code snippet for where that tank type is defined for B9 to recognise and understand it.

B9_TANK_TYPE:NEEDS[Kerbalism] { name = SEPSupplyEssentials tankMass = 0.0015 tankCost = 1.2 RESOURCE { name = Food unitsPerVolume = 0.36 } RESOURCE { name = Water unitsPerVolume = 0.14 } RESOURCE { name = Oxygen unitsPerVolume = 40.4 } RESOURCE { name = Nitrogen unitsPerVolume = 32.9 } }
What if KSP will load B9PartSwitch before SEP? Will it work? Also, I'm launching KSP right now, cross your fingers. It will take about 5-7 minutes to reach the B9PartSwitch loading point.
Last edited by arko7; May 3, 2023 @ 3:11pm
arko7 May 3, 2023 @ 3:23pm 
Damn bro, it works now. Thank you so much! I can finnally play KSP with my 120 mods (lol). I got so many steam points, so I don't even regret giving you some for your help. Enjoy!
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: May 3, 2023 @ 7:01am
Posts: 8