Jump to content

Unable to save or return to space center


Recommended Posts

KSP 1.4.5.2243 on Windows

Problem: Unable to return to space center or save the game after decoupling and both parts of the vessel are landed.

mods installed:

Galieo's Planet pack + dependencies



Reproduction Steps

Launch a vessel with a decoupler. Decouple on the launch site, and attempt to recover any of the vessels or save the game. This bug does not only apply to the launch site, but everywhere else in the game as well.

Log:

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

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
 
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

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
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
EventData`1:Fire(Vessel)
KSP.UI.Screens.AltimeterSliderButtons:recoverVessel()
UnityEngine.Events.InvokableCall:Invoke()
UnityEngine.Events.UnityEvent:Invoke()
UnityEngine.UI.Button:Press()
UnityEngine.UI.Button:OnPointerClick(PointerEventData)
UnityEngine.EventSystems.ExecuteEvents:Execute(IPointerClickHandler, BaseEventData)
UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMousePress(MouseButtonEventData)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent(Int32)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent()
UnityEngine.EventSystems.StandaloneInputModule:Process()
UnityEngine.EventSystems.EventSystem:Update()
 
(Filename:  Line: -1)

UnityEngine.EventSystems.StandaloneInputModule:ProcessMousePress(MouseButtonEventData)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent(Int32)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent()
UnityEngine.EventSystems.StandaloneInputModule:Process()
UnityEngine.EventSystems.EventSystem:Update()
 
(Filename:  Line: -1)

 

Link to comment
Share on other sites

Sorry, the full log is here:
http://s000.tinyupload.com/?file_id=19844891978818167594

The error happens even when it is entirely still. I also seem to remember that movement does not stop you from saving the game. The log above is from my savegame with other mods present, but the issue happens even if the only mods installed are the planet pack and its dependencies.

Link to comment
Share on other sites

I found a workaround for my issue. In the planet file Gael A located in ~/GPP/GPP_Planets there is the line:
"removeLaunchSites = Desert_Launch_Site, Desert_Airfield, Desert_GroundObjects, Woomerang_GroundObjects"
 

Removing this line and thus retaining these vanilla launch sites has resolved the issue. In my install of the mod other bits and bobs have been removed in my attempts to get things working, but this line being removed ended up making the difference, so whether this fix needs to happen in conjunction with other things (I removed the launch sites - beyond the default one - that comes with the mod) I don't know, and I honestly no longer have the patience to test for that.

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