Jump to content

Requesting assist: Unity Error upon Kerbal recovery from flight or tracking station.


Recommended Posts

Hello all, first thread here. This is meant to be a feeler to see if anyone has run across an error remotely close to this before.

InvalidOperationException: Operation is not valid due to the current state of the object
at System.Linq.Enumerable.First[RDTech] (IEnumerable`1 source, System.Func`2 predicate, Fallback fallback) [0x00000] in <filename unknown>:0

at System.Linq.Enumerable.First[RDTech] (IEnumerable`1 source, System.Func`2 predicate) [0x00000] in <filename unknown>:0

at Contracts.Templates.PartTest.Generate () [0x00000] in <filename unknown>:0

at Contracts.Contract.Generate (System.Type contractType, ContractPrestige difficulty, Int32 seed, State state) [0x00000] in <filename unknown>:0

at Contracts.ContractSystem.GenerateContract (Int32 seed, ContractPrestige difficulty, System.Type contractType) [0x00000] in <filename unknown>:0

at Contracts.ContractSystem.GenerateContract (System.Int32& seed, ContractPrestige difficulty) [0x00000] in <filename unknown>:0

at Contracts.ContractSystem.GenerateContracts (System.Int32& seed, ContractPrestige difficulty, Int32 count) [0x00000] in <filename unknown>:0

at Contracts.ContractSystem.RefreshContracts () [0x00000] in <filename unknown>:0

at Contracts.ContractSystem+.MoveNext () [0x00000] in <filename unknown>:0

(Filename: Line: -1)

[VesselRecovery]: Jebediah Kerman recovered 265.4Km from KSC. Recovery Value: 85.6%

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

Crewmember Jebediah Kerman is available again

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

Added 5.380251 (25) reputation: 'Jebediah Kerman was recovered!'.

That's the error being thrown. Occurs whenever I attempt to recover from either flight mode or the tracking station.

Game is heavily modded and I honestly don't know where to start. I'm leaning toward either CoherentContracts or DebRefund as possibilities but I'm unsure.

[ModuleManager] compiling list of loaded mods...
Mod DLLs found:
Assembly-CSharp v1.0.0.0
Modulefixer v1.0.0.0
ModuleManager.2.2.1 v2.2.1.0
aaa_Toolbar v1.0.0.0
ActiveTextureManagement v1.0.0.0
AnimatedDecouplers v1.0.5311.20395
CritterCrawler v0.0.0.0
BDAnimationModules v0.0.0.0
Achievements v1.0.0.0
DeadlyReentry v5.1.5319.31493
DebRefund v1.0.12.31180
DistantObject v1.0.0.0
DMagic v0.8.2.0
CityLights v1.0.0.0
Clouds v1.0.0.0
Geometry v1.0.0.0
OverlayMgr v1.0.0.0
Terrain v1.0.0.0
FerramAerospaceResearch v0.14.1.1
ferramGraph v1.3.0.0
JsonFx v2.0.1209.2800
ModStatistics v1.0.5311.28247
FinePrint v1.0.0.0
Firespitter v7.0.5320.35444
Pump v0.0.0.0
Hangar v1.0.5324.41060
KSPAPIExtensions v1.6.3.0
MechJeb2 v2.3.0.0
RasterPropMonitor v0.17.0.0
MechJebRPM v0.17.0.0
KAS v1.0.5325.39758
KerbalEngineer v1.0.3.0
LitJson v0.7.0.0
Wheels v1.0.0.0
KerbalIspDifficultyScaler v1.3.4.3
KerbalJointReinforcement v2.4.0.0
NavUtilGUI v0.1.0.0
NavUtilLib v1.0.0.0
RPMHSI v1.0.0.0
HyperEdit v1.2.4.1
km_Gimbal_2.0 v1.0.5314.16455
km_Lib v1.0.5314.16449
km_Tools v1.0.5314.16449
km_SmartParts v1.0.0.0
km_special v0.0.0.0
LaunchCountDown v1.7.1.36704
MapShowNavBall v1.1.5254.4435
NavBallTextureExport v1.0.0.0
NearFutureElectrical v1.0.0.0
NearFuturePropulsion v1.0.0.0
NearFutureSolar v1.0.0.0
FinalFrontier v1.0.0.0
OpenResourceSystem_1_1_0 v1.1.0.0
JumpDrive v1.0.5301.34192
DYJlibrary v1.0.0.0
RCSBuildAid v0.4.6.26901
RCSBuildAidToolbar v0.4.6.26902
RealChute v1.2.5321.29610
RealSolarSystem v1.0.0.0
ResGen v0.0.0.0
ModuleResourceConverter v1.0.0.0
Romfarer v1.0.0.0
SCANsat v1.0.6.0
CLSInterfaces v1.0.0.0
ShipManifest v0.3.3.1
SmokeScreen v0.9.0.0
StationScience v1.0.0.0
TextureReplacer v1.6.1.23616
TacLifeSupport v0.9.0.0
ModuleDB v1.0.5317.37780
ToadicusTools v0.0.0.0
TreeLoader v1.1.3.0
KerbalAlarmClock v2.7.8.2
KSPAlternateResourcePanel v2.4.3.0
Karbonite v1.0.0.0
KolonyTools v0.16.0.0
USITools v1.0.0.0
Lifeboat v0.1.2.0
AdvancedAnimator v1.0.5205.2310
VesselView v1.0.0.0
VesselViewRPM v1.0.0.0
VesselSimulator v0.0.0.0
VOID v0.13.5328.28610
InterstellarToolbar v1.0.0.0
WarpPlugin v1.0.0.0
Non-DLL mods added:
HotRockets
SpaceplanePlus
Mods by directory (subdirs of GameData):
000_Toolbar
AerojetKerbodyne
ASET
aWolf
B9_Aerospace
BahaEPL
BahaSP
blizzy
BoulderCo
BrassMoustache
CorporateFlags
DMagic Orbital Science
EnvironmentalVisualEnhancements
ExsurgentEngineering
Goodspeed
HGR
Hyomoto
JSI
KAX
KerbalFoundries
KerbalScienceFoundation
Kerbaltek
Kerb_fu
Klockheed_Martian
Klockheed_Martian_SmartParts
Klockheed_Martian_Special
kommit_nucleonics
kommit_octotruss
KSPRC
KSPX
KWRocketry
LoadOnDemand
Misc
ModsByTal
MP_Nazari
NASAmission
NearFutureConstruction
NearFutureSpacecraft
Nereid
NohArksPnP
NovaPunch2
OpenResourceSystem
PandaJagerLaboratories
parameciumkid
ProbiTronics
ProceduralDynamics
R&SCapsuledyne
RandomParts
ResourceConverter
RPMEngineIgnitor
SDHI
SH_mods
Squad
ThunderAerospace
TriggerTech
TurboNisu
UmbraSpaceIndustries
US_Core
US_KAS

That's the basic list of mods installed. I've already been through the whole rigamarole of reinstallation (had to do it when I switched over from 64 bit to 32 bit however I never checked recovery of a vessel while splashed down as I honestly don't have that much time available to test one by one; I did test one by one to see if the game loaded to flight scene and that was bad enough). All mods are their current version as of yesterday's date. A few of the large part packs have been pruned (namely B9 and Novapunch). The only thing in the kerb_fu folder is a stick from the (in development) engineering tech tree. However I am using Ackander's vertical tech tree. I can post a full list of mods if need be; as well as a full log. The game runs perfectly fine; no nullref spam; just the unity error upon kerbal recovery as well as a loader (i.e. only throws once when the game first loads) exception for exsurgentengineering (since it's ancient and probably needs rewritten/recompiled). Thanks in advance for any assistance.

Edited by Shad0wCatcher
Link to comment
Share on other sites

I've seen a few errors with contracts. The best solution so far seems to be this:

  • Back up your save
  • Rebuild the contracts
    • Debug Menu (Alt+F12)
    • Contracts
    • Tools
    • Regenerate Current Contracts

You may lose a few contracts, but you should at least get to keep playing. If you can reproduce it with a new save and just one mod, please report that in the thread.

Link to comment
Share on other sites

That was the idea Tao; to try to narrow it down so I can take it to the specific thread. Will attempt regeneration and advise further.

EDIT: Regeneration complete. Jeb was recovered however Bill is still swimming. Attempted multiple contract regenerations. Any other ideas?

Edited by Shad0wCatcher
Link to comment
Share on other sites

So apologies to any moderator for the double post; though I'm not sure if/where this fix should be posted. The thread itself can be locked whenever a mod has time as I've somewhat solved the problem. However, steps to fix are a pain and aren't 100%.

1) Go to the tracking station

2) Select the problem Kerbal

3) Click the recover button

4) Notice the Kerbal hasn't been recovered (optional: curse at your monitor for this not working correctly the first time)

5) Keep the Recover/Cancel window open

6) Re-Select the Kerbal to be recovered

7) Click on the Recover button again

8) Hope the window pops up with the actual recovery statistics; if not go back to the flight scene with the Kerbal and repeat from step 1. (This is a serious PITA)

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