Jump to content

Duplicate parts in R&D, have to unlock each time


Recommended Posts

I've found this issue in an RP-1 career game in KSP 1.8.1, one part just keeps duplicating itself whenever I unlock and try to use it.

XE67Z0i.png

Checked the logs and there's an error that looks like the culprit, but no indication of what's causing it or how to fix it:

Spoiler

Exception loading ScenarioModule ResearchAndDevelopment: System.ArgumentException: An item with the same key has already been added. Key: AvailablePart
  at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000c1] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 
  at ResearchAndDevelopment.OnLoad (ConfigNode node) [0x00194] in <9d71e4043e394d78a6cf9193ad011698>:0 
  at ScenarioModule.Load (ConfigNode node) [0x0000e] in <9d71e4043e394d78a6cf9193ad011698>:0 
  at ScenarioRunner.AddModule (ConfigNode node) [0x0005e] in <9d71e4043e394d78a6cf9193ad011698>:0 

Link to log files: https://www.dropbox.com/sh/7vsngwl7vn7c7vv/AAAa5sguccePbgliYbzehWD_a?dl=0

Screenshots: https://imgur.com/a/U76F6S7

I have over 100 mods in this save, most of which are RP-1 dependencies; this issue has only been happening today and I haven't changed any mods that could have caused it.

Mod list ('tis long!):

Spoiler

4kSP_Expanded (4kSPExpanded 0.2.1.1)
Advanced Jet Engine (AdvancedJetEngine v2.15.0)
AnyRes Continued (AnyResContinued 2.0.4)
Astrogator (Astrogator v0.10.2)
AtmosphereAutopilot (Fly-By-Wire) (AtmosphereAutopilot v1.5.16)
B9 Aerospace Procedural Wings - Fork (B9-PWings-Fork 1:v0.93)
B9 Part Switch (B9PartSwitch v2.14.0)
BahamutoD Animation Modules (BDAnimationModules 1:v0.6.5.8)
BetterTimeWarpContinued (BetterTimeWarpCont 2.3.12.6)
Breaking Ground (BreakingGround-DLC 1.3.1)
ClickThrough Blocker (ClickThroughBlocker 1:0.1.10.15)
Community Category Kit (CommunityCategoryKit v5.2.0.0)
Community Resource Pack (CommunityResourcePack 1.4.2)
Contract Configurator (ContractConfigurator 1.30.5)
Craft Manager (CraftManager 1.2.0)
Custom Barn Kit (CustomBarnKit 1.1.21.0)
Deadly Reentry Continued (DeadlyReentry v7.8.0)
Distant Object Enhancement Continued (DistantObject v2.0.0.1)
Distant Object Enhancement Continued default config (DistantObject-default v2.0.0.1)
DMagic Orbital Science (DMagicOrbitalScience 1.4.3)
DMModuleScienceAnimateGeneric (DMagicScienceAnimate v0.23)
Engine Lighting Relit (EngineLightRelit 1.6.3)
Environmental Visual Enhancements (EnvironmentalVisualEnhancements 2:EVE-1.8.0-2)
Extended information about scientific experiments in VAB (ScienceSituationInfo 1:1.3.4)
Ferram Aerospace Research Continued (FerramAerospaceResearchContinued 3:0.16.0.1)
Filter Extensions - Plugin (FilterExtensions 3.2.6)
Firespitter Core (FirespitterCore v7.17)
Firespitter Resources config (FirespitterResourcesConfig v7.17)
Hangar Extender (HangerExtenderExtended 3.6.0)
Kerbal Alarm Clock (KerbalAlarmClock v3.12.0.0)
Kerbal Engineer Redux (KerbalEngineerRedux 1.1.8.3)
Kerbal Joint Reinforcement Continued (KerbalJointReinforcementContinued v3.5.2)
Kerbal Occupation Colors (KerbalOccupationColors v1.2.0.1)
Kerbal Renamer (KerbalRenamer v1.4.0)
Kerbalism (Kerbalism 3.12)
Kerbalism - RealismOverhaul Config (Kerbalism-Config-RO v1.0)
Kerbalism Companion Calculator (KerbalismCompanionCalculator v1.3.0)
Kopernicus Planetary System Modifier (Kopernicus 2:release-1.8.1-1)
KRASH - Kerbal Ramification Artifical Simulation Hub (simulation mod for KSP) (KRASH 0.5.33.3)
KSP Wheel (KSPWheel 1:0.16.14.33)
KXAPI (KXAPI 1.2.0)
LoadingTipsPlus (LoadingTipsPlus V1.8)
MagiCore (MagiCore 1.3.2.3)
Making History (MakingHistory-DLC 1.8.1)
MechJeb 2 - DEV RELEASE (MechJeb2-dev 2.10.0.0-991)
Minimum Ambient Lighting Updated (MinAmbLightUpd 1.2.6)
ModularFlightIntegrator (ModularFlightIntegrator 1.2.7.0)
Module Manager (ModuleManager 4.1.4)
NavHud (NavHudRenewed 1.4.0.4)
Near Future Solar (NearFutureSolar 1.3.1)
Near Future Solar Core (NearFutureSolar-Core 1.3.1)
Patch Manager (PatchManager 0.0.17.2)
PersistentRotation (PersistentRotation 1.8.7)
PicoPort (PicoPort 0.1.6.3)
PlanetShine (PlanetShine 0.2.6.3)
PlanetShine - Default configuration (PlanetShine-Config-Default 0.2.6.3)
Pood's Milky Way Skybox (PoodsMilkyWaySkybox v.1.3.0)
Procedural Fairings (ProceduralFairings 1:v1.8.3)
Procedural Parts (ProceduralParts v2.1.2)
RCS Build Aid Continued (RCSBuildAidCont 1:0.10.0)
Real Antennas (RealAntennas v1.3.0)
Real Fuels (RealFuels rf-v12.8.5)
Real Plume (RealPlume 2:v13.3.2)
Real Solar System (RealSolarSystem v18.1.3)
Real Solar System Textures - 16384 x 8192 (RSSTextures16K v18.3)
Real Time Clock 2 (RealTimeClock2 v1.11.2)
RealChute Parachute Systems (RealChute v1.4.8)
RealHeat (RealHeat v5.1)
Realism Overhaul (RealismOverhaul v12.8.1)
Realistic Progression One (RP-1) (RP-0 v1.7)
Reentry Particle Effect Renewed (ReentryParticleEffect 1.9.1.1)
ReStock (ReStock 1.1.2)
ReStock+ (ReStockPlus 1.1.2)
Retractable Lifting Surface Module (RetractableLiftingSurface 0.2.1.1)
RO Capsules (ROCapsules v1.2)
RO Engines (ROEngines v1.6)
RO Library (ROLib v1.1)
RO Solar (ROSolar v1.1.1)
RO Tanks (ROTanks v2.2.1)
RSS DateTime Formatter (RSSDateTimeFormatter 1.6.1.0)
SCANsat (SCANsat v20.4)
scatterer (Scatterer 3:v0.0610)
Scatterer Default Config (Scatterer-config 3:v0.0610)
Scatterer Sunflare (Scatterer-sunflare 3:v0.0610)
Ship Manifest (ShipManifest 6.0.2.0)
Show FPS (ShowFPS 1:0.2.3)
Slingshotter Reslung (SlingShotterReslung 1.1.8)
SmokeScreen - Extended FX Plugin (SmokeScreen 2.8.14.0)
Solver Engines plugin (SolverEngines v3.8.0)
SpaceTux Library (SpaceTuxLibrary 0.0.5)
Station Keeping (StationKeeping 1:0.2.2.1)
SXTContinued (SXTContinued 2:0.3.29.5)
Test Lite (TestLite 0.3.1)
TextureReplacer (TextureReplacer v4.3.1)
Textures Unlimited (TexturesUnlimited 1.5.9.24)
The Janitor's Closet (JanitorsCloset 0.3.7)
Toolbar (Toolbar 1:1.8.0.5)
Toolbar Controller (ToolbarController 1:0.1.9.4)
Tracking Station Evolved (TrackingStationEvolved 6.0)
Trajectories (Trajectories v2.3.4)
Ven's New Parts (VenStockRevamp-NewParts v1.14.2)
Ven's Stock Part Revamp Core (VenStockRevamp-Core v1.14.2)
Waypoint Manager (WaypointManager 2.8.2.6)
Zero MiniAVC (ZeroMiniAVC 1:1.1.0.1)

Is this a mod issue, a problem with a cached file somewhere or a corrupted save that can be edited to fix it?

Link to comment
Share on other sites

On 1/23/2021 at 6:14 PM, jimmymcgoochie said:

Is this a mod issue, a problem with a cached file somewhere or a corrupted save that can be edited to fix it?

Can you check to see if the item already been unlocked (i.e. is available to build with)?

It looks like the error is stating that the named part is already in the list (of unlocked parts), which would imply it's already been unlocked and is somehow appearing in the tech tree more that once. 

 

Somehow, that part appears to be already in the list of unlocked parts, but is still showing as unlocked. The only way I can see this happening is either altering or updating the tech tree (or parts) without starting a new save. I don't play with unlockable parts but I would assume that the "unlocked parts" information would be accessible within your save file and could therefore be amended (back it up before you attempt to fix it). 

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...