sswelm / KSP-Interstellar-Extended

continuation of KSP Interstellar
Other
98 stars 103 forks source link

KSPIE hangs on loading when there is a technode without an id field #729

Open JonnyOThan opened 1 year ago

JonnyOThan commented 1 year ago

https://github.com/sswelm/KSP-Interstellar-Extended/blob/8a55a180d0f940510ffc508df90e915c05dd81b8/PhotonSail/TechnologyHelper.cs#LL134C32-L134C32

System.ArgumentNullException: Value cannot be null.
Parameter name: key
  at System.Collections.Generic.Dictionary2[TKey,TValue].FindEntry (TKey key) [0x00008] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Collections.Generic.Dictionary2[TKey,TValue].ContainsKey (TKey key) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at FNPlugin.PluginHelper.get_RdTechByName () [0x000de] in <86331f4099874379b99eba8db4dc4cd3>:0 
  at FNPlugin.PluginHelper.GetTechTitleById (System.String id) [0x0003a] in <86331f4099874379b99eba8db4dc4cd3>:0 
  at FNPlugin.Powermanagement.FNGenerator.GetInfo () [0x00054] in <86331f4099874379b99eba8db4dc4cd3>:0 
  at PartLoader.CompilePartInfo (AvailablePart newPartInfo, Part part) [0x0024e] in <4b449f2841f84227adfaad3149c8fdba>:0 

BetterWithScience contains such a node (which is probably incompatible with CommunityTechTree but it's not marked as such in CKAN).

yzmengnan commented 1 year ago

邮件已收到。