Jump to content

Getting exceptions and can't return to the KSC


Recommended Posts

I launched a probe for a contract to test a part. When I completed the contract the probe crashed into the launch pad and got destroyed but I couldn't return to the KSC, or even click Recover Vessel on the remaining debris. 

I checked the log and this is what it outputted when I would click recover vessel.

[ERR 19:56:09.773] Exception handling event OnVesselRecoveryRequested in class VesselRetrieval:System.ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
  at System.Collections.Generic.List`1[LaunchSite].get_Item (Int32 index) [0x00000] in <filename unknown>:0 
  at Vessel.get_LandedInStockLaunchSite () [0x00000] in <filename unknown>:0 
  at FlightState..ctor () [0x00000] in <filename unknown>:0 
  at Game.Updated (GameScenes startSceneOverride) [0x00000] in <filename unknown>:0 
  at GamePersistence.SaveGame (System.String saveFileName, System.String saveFolder, SaveMode saveMode, GameScenes startScene) [0x00000] in <filename unknown>:0 
  at GamePersistence.SaveGame (System.String saveFileName, System.String saveFolder, SaveMode saveMode) [0x00000] in <filename unknown>:0 
  at VesselRetrieval.onVesselRecoveryRequested (.Vessel v) [0x00000] in <filename unknown>:0 
  at EventData`1[Vessel].Fire (.Vessel data) [0x00000] in <filename unknown>:0 

[EXC 19:56:09.774] ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
    System.Collections.Generic.List`1[LaunchSite].get_Item (Int32 index)
    Vessel.get_LandedInStockLaunchSite ()
    FlightState..ctor ()
    Game.Updated (GameScenes startSceneOverride)
    GamePersistence.SaveGame (System.String saveFileName, System.String saveFolder, SaveMode saveMode, GameScenes startScene)
    GamePersistence.SaveGame (System.String saveFileName, System.String saveFolder, SaveMode saveMode)
    VesselRetrieval.onVesselRecoveryRequested (.Vessel v)
    EventData`1[Vessel].Fire (.Vessel data)
    UnityEngine.Debug:LogException(Exception)
    EventData`1:Fire(Vessel)
    KSP.UI.Screens.AltimeterSliderButtons:recoverVessel()
    UnityEngine.EventSystems.EventSystem:Update()

I am also getting this exception, which I am assuming is coming from the Kerbal Star Systems mod but I'm not sure.

[EXC 19:56:09.815] NullReferenceException: Object reference not set to an instance of an object
    CelestialShadows.LocalShadowComponent.OnPreCull ()

This exception is getting thrown around non-stop in the log. If it helps I completed the contract around line 757418 in the log. Thanks in advanced to anyone who tries to help!

LOG: https://www.dropbox.com/s/1zelf73mg1cqnqg/KSP.log?dl=0

MODS:
    000_ClickThroughBlocker
    001_ToolbarControl
    AllYall
    AquilaEnterprises
    ASET
    AstronomersVisualPack
    AutoAction
    B9PartSwitch
    BahaSP
    BetterBurnTime
    BetterScienceLabsContinued
    Champagne
    Chatterer
    ChopShop
    CommNetAntennasExtension
    CCK
    CRP
    CryoTanks
    CTTP
    CustomBarnKit
    DeployableEngines
    DistantObject
    DMagicOrbitalScience
    EasyVesselSwitch
    EditorExtensionsRemix
    EVE
    EVAEnhancementsContinued
    ExtensiveEngineeringReport
    HeatControl
    HullCamVDS
    IndicatorLights
    IntegratedStackDecouplers
    JSI
    JX2Antenna
    KAS
    KerbalAtomics
    KerbalEngineer
    KIS
    Kopernicus
    KopernicusExpansion
    kOS
    KRASH
    KSPRescuePodFix
    KSPWheel
    KSS
    LoadingScreenManager
    masTerTorch
    MechJeb2
    ModularFlightIntegrator
    Nereid
    ProbeControlRoom
    ProceduralFairings
    RCSBuildAid
    RealChute
    RemoteTech
    RemoteTechRedev
    REPOSoftTech
    ResonantOrbitCalculator
    SCANSat
    scatterer
    ScienceAlert
    SmartParts
    SoundtrackEditor
    Squad
    SquadExpansion
    StageRecovery
    SurfaceLights
    TarsierSpaceTech
    TextureReplacer
    ThunderAerospace
    Trajectories
    TriggerTech
    TweakScale
    USI
    UniversalStorage2
    VesselView
    WhoAmI
    WildBlueIndustries
    
    ModuleManager3.1.0.dll

Link to comment
Share on other sites

I had this happen to me before, with the exception being in exactly the same place.

The problem is that the first step of any attempt to switch scenes is to first save a checkpoint of the game, and saving the game is throwing this exception so that aborts the attempt to switch scenes.

The stock method, Vessel.get_LandedInStockLaunchSite (), seems to throw this exception if you have the Making History DLC installed and have modded the default homeworld's launch sites in some way.  I thought the mod was Kerbal Konstructs, but it might be Kopernicus.  In any case, I couldn't play Galileo Planet Pack without removing Making History DLC because of this problem. 

Link to comment
Share on other sites

4 hours ago, Steven Mading said:

I had this happen to me before, with the exception being in exactly the same place.

The problem is that the first step of any attempt to switch scenes is to first save a checkpoint of the game, and saving the game is throwing this exception so that aborts the attempt to switch scenes.

The stock method, Vessel.get_LandedInStockLaunchSite (), seems to throw this exception if you have the Making History DLC installed and have modded the default homeworld's launch sites in some way.  I thought the mod was Kerbal Konstructs, but it might be Kopernicus.  In any case, I couldn't play Galileo Planet Pack without removing Making History DLC because of this problem. 

Removing the DLC solved the problem of not being able to return to the KSC. Thanks so much for helping.

Link to comment
Share on other sites

2 hours ago, juan120535 said:

Removing the DLC solved the problem of not being able to return to the KSC. Thanks so much for helping.

In case anyone from SQUAD is watching this and wants to help solve it (they might not since it's specific to mods), here's another further piece of information from my experience:

In addition to having to have the DLC loaded in order to trigger the problem for me, I also had to have the current active vessel be within the area of the KSC but not necessarily on the actual runway or launchpad - just somewhere else on in the KSC area that the mod had moved the KSC to in its planet pack.  It seems to be triggered by the KSC being in a different location (due to mods) than it is in stock, and the active vessel being at this relocated KSC.

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