HabTech2
HabTech2 copied to clipboard
B9PartSwitch Fatal Error
After installing the 1.0.0 version of HabTech2, I receive a fatal B9 Part Switch error.
Screenshot of the error message in game
It seems to be dealing with a tank type under Oxygen in the ammonia tank part.
[LOG 14:19:12.513] PartLoader: Compiling Part 'HabTech2/Parts/Trusses/ht2_ATA/ht2_ATA' [WRN 14:19:12.532] DontDestroyOnLoad only works for root GameObjects or components on root GameObjects. [ERR 14:19:12.533] Module ModuleB9PartSwitch threw during OnLoad: System.Exception: Fatal exception while loading fields on module ModuleB9PartSwitch on part ---> System.Exception: Exception while loading field subtypes on type B9PartSwitch.ModuleB9PartSwitch ---> System.Exception: Exception while loading fields on subtype PartSubtype 02 ---> System.Exception: Exception while loading field tankType on type B9PartSwitch.PartSubtype ---> System.Collections.Generic.KeyNotFoundException: No tank type named 'ht2_02' exists at B9PartSwitch.B9TankSettings.GetTankType (System.String name) [0x00030] in
:0 at B9PartSwitch.TankTypeValueParser.Parse (System.String value) [0x0000b] in :0 at B9PartSwitch.Fishbones.NodeDataMappers.ValueScalarMapper.Load (System.Object& fieldValue, ConfigNode node, B9PartSwitch.Fishbones.Context.OperationContext context) [0x00022] in :0 at B9PartSwitch.Fishbones.NodeDataField.Load (ConfigNode node, B9PartSwitch.Fishbones.Context.OperationContext context) [0x00043] in :0 at B9PartSwitch.Fishbones.NodeDataList.Load (ConfigNode node, B9PartSwitch.Fishbones.Context.OperationContext context) [0x00025] in :0 --- End of inner exception stack trace --- at B9PartSwitch.Fishbones.NodeDataList.Load (ConfigNode node, B9PartSwitch.Fishbones.Context.OperationContext context) [0x00058] in :0 at B9PartSwitch.Fishbones.NodeDataObjectExtensions.LoadFields (System.Object obj, ConfigNode node, B9PartSwitch.Fishbones.Context.OperationContext context) [0x00033] in :0 at B9PartSwitch.PartSubtype.Load (ConfigNode node, B9PartSwitch.Fishbones.Context.OperationContext context) [0x00000] in :0 --- End of inner exception stack trace --- at B9PartSwitch.PartSubtype.Load (ConfigNode node, B9PartSwitch.Fishbones.Context.OperationContext context) [0x0001d] in :0 at B9PartSwitch.Fishbones.Parsers.NodeObjectWrapperIContextualNode.Load (System.Object& obj, ConfigNode node, B9PartSwitch.Fishbones.Context.OperationContext context) [0x00038] in :0 at B9PartSwitch.Fishbones.NodeDataMappers.NodeListMapper.Load (System.Object& fieldValue, ConfigNode node, B9PartSwitch.Fishbones.Context.OperationContext context) [0x0009e] in :0 at B9PartSwitch.Fishbones.NodeDataField.Load (ConfigNode node, B9PartSwitch.Fishbones.Context.OperationContext context) [0x00043] in :0 at B9PartSwitch.Fishbones.NodeDataList.Load (ConfigNode node, B9PartSwitch.Fishbones.Context.OperationContext context) [0x00025] in :0 --- End of inner exception stack trace --- at B9PartSwitch.Fishbones.NodeDataList.Load (ConfigNode node, B9PartSwitch.Fishbones.Context.OperationContext context) [0x00058] in :0 at B9PartSwitch.Fishbones.NodeDataObjectExtensions.LoadFields (System.Object obj, ConfigNode node, B9PartSwitch.Fishbones.Context.OperationContext context) [0x00033] in :0 at B9PartSwitch.CustomPartModule.OnLoad (ConfigNode node) [0x000ea] in :0 --- End of inner exception stack trace --- at B9PartSwitch.CustomPartModule.OnLoad (ConfigNode node) [0x0010f] in :0 at PartModule.Load (ConfigNode node) [0x001ab] in <39c0323fb6b449a4aaf3465c00ed3c8d>:0
Also getting this error. I've dug around in the config files and can't find the problem; all references to ht2_02 seem to be identical to the previous version, which worked fine.
Still having this problem @benjee10 .
Do you have Kerbalism installed by any chance? Others have reported a conflict with that.
I have identified that Kerbalism does in fact conflict with HabTech.