• 1
scottadges

Help! Curious Logspam: "[PartSet]: Failed to add Resource..."

Question

Posted (edited)

My latest 1.6.1 KSP install is running really smoothly, so I'm surprised that all of the sudden I'm getting a ton of logspam and KSP is CTD'ing, so I'm trying to understand what I'm seeing in the log.

Can anyone identify what this error is coming from? Is this mod-related or something with Unity?

Here's a portion of the spam which (I assume?) is contributing to my CTD problem:

[LOG 20:47:57.396] [PartSet]: Failed to add Resource 374119730 to Simulation PartSet:13702 as corresponding Part FL-TX1800 Fuel Tank-290656617 SimulationResource was not found.
[LOG 20:47:57.396] [PartSet]: Failed to add Resource 374119730 to Simulation PartSet:13702 as corresponding Part FL-TX1800 Fuel Tank-290656617 SimulationResource was not found.
[LOG 20:47:57.396] [PartSet]: Failed to add Resource 374119730 to Simulation PartSet:13652 as corresponding Part FL-TX1800 Fuel Tank-290656617 SimulationResource was not found.
[LOG 20:47:57.396] [PartSet]: Failed to add Resource 374119730 to Simulation PartSet:13652 as corresponding Part FL-TX1800 Fuel Tank-290656617 SimulationResource was not found.
[LOG 20:47:57.396] [PartSet]: Failed to add Resource 374119730 to Simulation PartSet:13601 as corresponding Part FL-TX1800 Fuel Tank-290656617 SimulationResource was not found.
[LOG 20:47:57.396] [PartSet]: Failed to add Resource 374119730 to Simulation PartSet:13601 as corresponding Part FL-TX1800 Fuel Tank-290656617 SimulationResource was not found.

Here's the full log file for reference: KSP Log 032719 T2148.log

Background:

  • I'm getting this now when I'm playing a Sandbox game, which it doesn't seem to happen in my Career game
  • The CTDs are happening since I've been building a large spacecraft that has ~ 500 parts, plus adding a bunch more (attached station)
  • So far this is only in the SPH, since it's just been since I'm building this craft. I haven't had any problems in Map/Flight or KSC/Menu.
  • My system specs: i5 6600, GTX 1060, 16GB RAM, Win10

Also, here are the mods I'm running:

Spoiler

Flight Manager for Reusable Stages (FMRS) Continued (FMRSContinued 1.2.7.4)
[x] Science! Continued (xScienceContinued 5.20)
Action Groups Extended (AGExt 1:2.3.3.8)
B9 Part Switch (B9PartSwitch v2.6.0)
BetterTimeWarpContinued (BetterTimeWarpCont 2.3.11.2)
Better Crew Assignment
ClickThrough Blocker (ClickThroughBlocker 0.1.7.1)
CollisionFX-Updated (CollisionFXUpdated 0.8.3.1.1)
CommNet Constellation (CommNetConstellation 1.3.1)
Community Category Kit (CommunityCategoryKit 4.1.0.0)
Community Resource Pack (CommunityResourcePack 1.1.0.0)
Community Tech Tree (CommunityTechTree 1:3.3.6)
Community Terrain Texture Pack (CommunityTerrainTexturePack 1:1.0.4)
Community Trait Icons (CommunityTraitIcons v1.0.2)
Contract Configurator (ContractConfigurator 1.27.1)
Contract Pack: Bases and Stations Reborn (ContractConfigurator-KerbinSpaceStation 2:3.7.1.3)
Contract Pack: Kerbal Academy (ContractConfigurator-KerbalAcademy 1.1.10)
Contract Pack: Tourism Plus (ContractConfigurator-Tourism 1.5.2)
Contract Parser (ContractParser 8.0)
Contracts Window + (ContractsWindowPlus 9.2)
Craft Manager (CraftManager 1.1.5)
Decoupler Shroud (DecouplerShroud 0.6.1)
Distant Object Enhancement (DistantObject v1.9.1.1)
Distant Object Enhancement default config (DistantObject-default v1.9.1.1)
DMagic Orbital Science (DMagicOrbitalScience 1.4.2)
Docking Port Alignment Indicator (DockingPortAlignmentIndicator 6.8.3)
Draggable Altimeter (DraggableAltimeter v1.0.1)
Draggable Navball (DraggableNavball v1.0.1)
Dynamic Battery Storage (DynamicBatteryStorage 2:1.4.0.0)
Easy Vessel Switch (EVS) (EasyVesselSwitch 1.10)
Editor Extensions Redux (EditorExtensionsRedux 3.3.19.10)
Environmental Visual Enhancements (EnvironmentalVisualEnhancements 2:EVE-1.4.2-2)
Environmental Visual Enhancements - Stock Planet Config files (EnvironmentalVisualEnhancements-HR 2:EVE-1.2.2-1)
Feline Utility Rovers (FelineUtilityRovers 1.2.9)
HangerExtender (HangerExtenderExtended 3.5.3.5)
Heat Control (HeatControl 0.4.10)
Hide Empty Tech Tree Nodes (HideEmptyTechNodes 1.1.0)
HyperEdit (HyperEdit 1.5.8.0)
Keep It Straight (KeepItStraight 1.0.5)
Kerbal Alarm Clock (KerbalAlarmClock v3.10.0.0)
Kerbal Engineer Redux (KerbalEngineerRedux 1.1.5.7)
Kerbal Improved Save System (KerbalImprovedSaveSystem v2.4.0)
KerbalJointReinforcement (recent version that works with KSP 1.6.1)
Kerbal Planetary Base Systems (KerbalPlanetaryBaseSystems v1.6.8)
Kopernicus Planetary System Modifier (Kopernicus 2:release-1.6.1-2)
KSP AVC (KSP-AVC 1.2.0.7)
KXAPI (KXAPI 1.1.0)
Making Less History (MakingLessHistory 1.0)
MechJeb 2 (MechJeb2 2.8.3.0)
MechJeb and Engineer for all! (MechJebForAll 1.3.0.5)
MemGraph (MemGraph 1:1.1.1.5)
Mk2 Stockalike Expansion (Mk2Expansion 2:1.8.3.5)
Mk3 Stockalike Expansion (Mk3Expansion 1.4.7.5)
ModularFlightIntegrator (ModularFlightIntegrator 1.2.6.0)
Module Manager (ModuleManager 4.0.2)
MSP-3000 Material Science Pod (MSP3000 v1.1)
NavHud (NavHudRenewed 1.3.6.2)
Near Future Construction (NearFutureConstruction 1.0.6)
Near Future Electrical (NearFutureElectrical 0.10.6)
Near Future Electrical Core (NearFutureElectrical-Core 0.10.6)
Near Future IVA Props (NearFutureProps 1:0.5.0)
Near Future Launch Vehicles (NearFutureLaunchVehicles 1.1.10)
Near Future Propulsion (NearFuturePropulsion 1.0.7)
Near Future Solar (NearFutureSolar 0.8.15)
Near Future Solar Core (NearFutureSolar-Core 0.8.15)
Near Future Spacecraft (NearFutureSpacecraft 1.0.3)
Outer Planets Mod (OuterPlanetsMod 2:2.2.2)
Portrait Stats (PortraitStats 17.0)
Precise Node (PreciseNode 1.2.10)
Progress Parser (ProgressParser 10.0)
RCS Build Aid Continued (RCSBuildAidCont 1:0.9.7.4)
Realistic Atmospheres (RealisticAtmospheres 1.3.0)
RecoveryController (RecoveryController 0.0.3.7)
Reentry Particle Effect (ReentryParticleEffect 1.4)
scatterer (Scatterer 2:v0.0336)
scatterer - default config (Scatterer-config 2:v0.0336)
scatterer - sunflare (Scatterer-sunflare 2:v0.0336)
Science Relay (ScienceRelay 5.1)
SmokeScreen - Extended FX Plugin (SmokeScreen 2.8.1.0)
Stockalike Mining Extension (StockalikeMiningExtension 0.99.2)
Stockalike Station Parts Expansion Redux (StationPartsExpansionRedux 1.1.0)
TAC Fuel Balancer (TacFuelBalancer v2.20)
The Janitor's Closet (JanitorsCloset 0.3.4.6)
Toolbar (Toolbar 1.7.18)
Toolbar Controller (ToolbarController 1:0.1.6.20)
Tracking Station Evolved (TrackingStationEvolved 4.1)
Trajectories (Trajectories v2.2.2)
Transfer Window Planner (TransferWindowPlanner v1.6.3.0)
TriggerAu Flags (TriggerAu-Flags v2.9.3.0)
TRP-Hire (TRPHire 0.6.8.9)
TweakScale - Rescale Everything! (TweakScale v2.4.1.0)
Tweakscale Configs for Making History (TweakscaleMakingHistoryConfigs 1.0e)
Universal Storage II (UniversalStorage2 1.6.0.9)
WorldStabilizer (WorldStabilizer 0.9.3)

Thanks for any help ya'll can provide!

Edited by scottadges

Share this post


Link to post
Share on other sites

13 answers to this question

Recommended Posts

  • 0

@MaxwellsDemon that's an issue with ContractConfigurator which is a dependency of just about all contract packs and is somewhat unmaintained right now.

See the post below by phoenix2004uk for an mm patch then keep reading for methods to fix it in an existing save. 

 

As for the PartSet bug, I get it, too. Don't believe it contributes to any crashes (ksp doesn't usually log anything useful in diagnosing a crash, therefore logspam can be annoying but might not be your most serious issue). Most likely memory access crashes. Uninstalling scatterer improved the frequency of these for me (makes sense as it is out of date and players have been reporting the same experience for years). 

Other mods mentioned that can cause issues:

AmpYear and [X] Science! - both allocate a ton of memory every frame, AmpYear scales with part count, x science with experiments and situations. 

Kopernicus (at least the 1.7.3 version) has problems with scatter, breaking ground features, and bodies with no oceans. There are workarounds available in the support forum for some of those issues. 

Share this post


Link to post
Share on other sites
  • 0

No help here, only moral support.  I've seen and been mystified by the same thing.

Share this post


Link to post
Share on other sites
  • 0
Posted (edited)

I also see a lot of these sorts of things in my log... but I don't speak this language:

 

[ERR 19:22:35.809] Input is null for field 'agent' in config node 'CONTRACT_FINISHED'
   at System.Environment.get_StackTrace()
   at ConfigNode.AddValue(System.String name, System.String value)
   at Contracts.Contract.Save(.ConfigNode node)
   at Contracts.ContractSystem.OnSave(.ConfigNode gameNode)
   at ScenarioModule.Save(.ConfigNode node)
   at ProtoScenarioModule..ctor(.ScenarioModule module)
   at ScenarioRunner.UpdateModules()
   at ScenarioRunner.GetUpdatedProtoModules()
   at Game.Updated(GameScenes startSceneOverride)
   at GamePersistence.SaveGame(System.String saveFileName, System.String saveFolder, SaveMode saveMode, GameScenes startScene)
   at GamePersistence.SaveGame(System.String saveFileName, System.String saveFolder, SaveMode saveMode)
   at FlightAutoSave+<PersistentSave>c__Iterator0.MoveNext()
   at UnityEngine.SetupCoroutine.InvokeMoveNext(IEnumerator enumerator, IntPtr returnValueAddress)

If we assume it's one mod and we're seeing similar things, let me see which mods we both have to winnow down the list a bit:

B9 Part Switch (B9PartSwitch v2.6.0)

ClickThrough Blocker (ClickThroughBlocker 0.1.7.1)
Community Category Kit (CommunityCategoryKit 4.1.0.0)
Community Resource Pack (CommunityResourcePack 1.1.0.0)
Community Trait Icons (CommunityTraitIcons v1.0.2)
Distant Object Enhancement (DistantObject v1.9.1.1)
DMagic Orbital Science (DMagicOrbitalScience 1.4.2)
Kerbal Alarm Clock (KerbalAlarmClock v3.10.0.0)
Making Less History (MakingLessHistory 1.0)
MechJeb 2 (MechJeb2 2.8.3.0)
MechJeb and Engineer for all! (MechJebForAll 1.3.0.5)
Module Manager (ModuleManager 4.0.2)
Near Future Solar (NearFutureSolar 0.8.15)
Portrait Stats (PortraitStats 17.0)
Toolbar Controller (ToolbarController 1:0.1.6.20)
Tracking Station Evolved (TrackingStationEvolved 4.1)
TweakScale - Rescale Everything! (TweakScale v2.4.1.0)
 

It also seems to me that I see the "Failed to add Resource 374119730 to Simulation PartSet:13652 as corresponding Part FL-TX1800 Fuel Tank-290656617 SimulationResource was not found" stuff only on fuel tanks.  Don't know if that's significant.  But I wonder if that points the finger at CommunityResourcePack?

Edited by MaxwellsDemon

Share this post


Link to post
Share on other sites
  • 0

Same here. Out of nowhere.

RO / RP-1 install.

Something with ModuleEngineConfigs  perhaps?

I quote myself from the RO Discord:

Quote

could it be that the MJ #800 dV readout does not take ModuleEngineConfigs into account and so does not show any dV or TWR - same as new stock readouts?
Only KER shows anything ...

Or is my game already borked?
It seems that in VAB only the dV and TWR/ISP readouts are shown by stock and MJ when the original config of the engine is chosen and the fitting fuel ofc.
And I have the strong suspicion that not only the readouts are affected but other functionality as well.
So that the engines only work well when the default config is chosen...
Oh well, not really. In default config everything BUT dV is shown in stock readout.
And only burn time in MJ.

 

Full log and stuff:
https://www.dropbox.com/s/g9esjrnxlei67xp/output_log.txt and stuff 2019-05-28-01.zip?dl=1

Share this post


Link to post
Share on other sites
  • 0

This is a list of dlls with the search string "partset" in them (in my install):

GameData\KerbalEngineer\KerbalEngineer.dll
GameData\MechJeb2\Plugins\MechJeb2.dll
GameData\NearFutureElectrical\Plugins\NearFutureElectrical.dll
GameData\RealFuels\Plugins\RealFuels.dll
GameData\REPOSoftTech\AmpYear\Plugins\AmpYear.dll

 

Share this post


Link to post
Share on other sites
  • 0
Posted (edited)

Hi, yeah, I have the same issue in the current version of the game. In my case, I think the error is connected to me wanting to put LH2 into fuel tanks for Cryogenic Engines, but despite the editor showing it to be there, when I want to launch my rocket, it's filled with normal LF. So, I think this problem is related to B9PartSwitch or the Community Resource Pack, since those are the only addons that deal with resources and that we all have in common here.

EDIT: I found a solution, at least for my version of the issue: I had B9PartSwitch AND SimpleFuelSwitch installed and apparently they conflict? Getting rid of the FuelSwitch plugin solved the issue for me.

Edited by Hiramas

Share this post


Link to post
Share on other sites
  • 0

I am havnig this problem on 1.7.3 and I only have B9PartSwitch, not SimpleFuelsSwitch... I need B9Part switch for some mods I have so anyone knows how to stop the spam? Its giving me like 5 fps

Share this post


Link to post
Share on other sites
  • 0

Same issue here, but on 1.7.3. Makes up about 75% of my 101MB log file. Most of the other 25MB seems to be KS3P throwing some sort of exception, but that's not for this thread. I crash occasionally, but mostly it's just annoying when trying to troubleshoot other issues. My mod list is a bit smaller than those posted here so far and has no non-stock parts beyond MechJeb and KER computers, which may help narrow down the problem. I suspect SimpleFuelSwitch is to blame in my case but haven't uninstalled it to check since I'm currently using a lot of stock 2.5m and 3.75m tanks filled with LF.

Consists almost entirely of this sort of thing:

Spoiler

[PartSet]: Failed to add Resource -1823983486 to Simulation PartSet:31550 as corresponding Part Rockomax X200-32 Fuel Tank-3486481714 SimulationResource was not found.
 
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

[PartSet]: Failed to add Resource -1823983486 to Simulation PartSet:31550 as corresponding Part Rockomax X200-32 Fuel Tank-3486481714 SimulationResource was not found.
 
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

[PartSet]: Failed to add Resource -1823983486 to Simulation PartSet:31526 as corresponding Part Rockomax X200-32 Fuel Tank-3486481714 SimulationResource was not found.
 
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

[PartSet]: Failed to add Resource -1823983486 to Simulation PartSet:31526 as corresponding Part Rockomax X200-32 Fuel Tank-3486481714 SimulationResource was not found.
 
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

[PartSet]: Failed to add Resource 374119730 to Simulation PartSet:31733 as corresponding Part Rockomax Jumbo-64 Fuel Tank-1586641407 SimulationResource was not found.
 
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

[PartSet]: Failed to add Resource 374119730 to Simulation PartSet:31733 as corresponding Part Rockomax Jumbo-64 Fuel Tank-1586641407 SimulationResource was not found.
 
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

Interestingly there are only errors for Rockomax fuel tanks; none for Kerbodyne or FL-T tanks. IIRC the last rocket I flew around the time this log was generated had only Rockomax tanks, but none had been swapped to LF; they were all standard LF+OX.

Log file (compressed to 1MB)

Mod List:

Spoiler

Astronomer's Visual Pack (AstronomersVisualPack 2:3.8.3.0)
Astronomer's Visual Pack-8k Textures (AVP-8kTextures v1.9)
ClickThrough Blocker (ClickThroughBlocker 0.1.7.2)
Distant Object Enhancement (DistantObject v1.9.1.1)
Distant Object Enhancement default config (DistantObject-default v1.9.1.1)
Docking Port Alignment Indicator (DockingPortAlignmentIndicator 6.8.3)
Editor Extensions Redux (EditorExtensionsRedux 3.3.21)
Engine Lighting Relit (EngineLightRelit 1.6.1.1)
Environmental Visual Enhancements (EnvironmentalVisualEnhancements 2:EVE-1.4.2-2)
Kerbal Engineer Redux (KerbalEngineerRedux 1.1.6.0)
Kerbal Joint Reinforcement - Next (KerbalJointReinforcementNext v4.0.13)
KS3P (KS3P V6.1)
MechJeb 2 (MechJeb2 2.8.4.0)
MechJeb and Engineer for all! (MechJebForAll 1.3.0.6)
Module Manager (ModuleManager 4.0.3)
PlanetShine (PlanetShine 0.2.6.1)
PlanetShine - Default configuration (PlanetShine-Config-Default 0.2.6.1)
Precise Node (PreciseNode 1.2.10.3)
scatterer (Scatterer 2:v0.0540)
scatterer - default config (Scatterer-config 2:v0.0540)
scatterer - sunflare (Scatterer-sunflare 2:v0.0540)
SimpleFuelSwitch (SimpleFuelSwitch 1.3.1)
The Janitor's Closet (JanitorsCloset 0.3.6)
Toolbar Controller (ToolbarController 1:0.1.8.2)
Kerbal Alarm Clock (3.10.0.0)

 

 

A comment on a GitHub page somewhere when I was googling this error mentioned that they thought it was related to the stock delta-V calculator, not sure if that's useful information or not.

Share this post


Link to post
Share on other sites
  • 0
Posted (edited)

I have the same, am trying to figure out which mod is causing it...

In editor Its unplayable because it gets laggy.

Edited by Agustin

Share this post


Link to post
Share on other sites
  • 0
Posted (edited)

Heeelp?  I can´t narrow down the mod which is causing this... 
I tried deleteing a bunch of mods and reinstalling everything...

Edited by Agustin

Share this post


Link to post
Share on other sites
  • 0

Just wrapping up this question/thread (doing some housekeeping on my Forum content...)

Looks like I'm not having this issue in my upgraded 1.7.3 install. Pretty much the same mod list, contract packs, etc. But no issue with the OP logspam. Who knows?? :)

 

Share this post


Link to post
Share on other sites

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
Answer this question...

×   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.