Project

General

Profile

Bug #26961

Unable to Save game in KSP 1.11

Added by djr5899 almost 4 years ago. Updated over 3 years ago.

Status:
Resolved
Severity:
Low
Assignee:
Category:
Controls and UI
Target version:
-
Start date:
01/03/2021
% Done:

100%

Version:
Platform:
OSX, Windows
Expansion:
Breaking Ground, Core Game, Making History
Language:
English (US)
Mod Related:
No
Votes:
Arrow u r green
Arrow d r red

Description

I am experiencing what looks to be a bug in KSP 1.11 where I cannot Save the game, and it appears the entire Escape menu system is not usable. I have removed any mods that I have installed, and I can still reproduce the issue. The issue appears to be related to the MK1-3 Command Pod and the RCS thrusters. By default, I disable the RCS thrusters on the pod, however, when attempting to redock with the Command Pod, the RCS thrusters visually look like they are enabled and thrusting (even though no thrusting forces are being exerted). It is at this point that I can no longer Save (or return to Tracking Station/Space Center).

How I am able to reproduce the issue (this is career mode, but I don't believe this makes a difference):

  1. I launch a craft that uses an MK1-3 Command pod, and has a lander craft attached via Clampotron docking port.
  2. I put my craft in orbit of the Mun, transfer Pilot and Scientist to Lander craft, and leave Engineer on return craft in orbit.
  3. Lander craft lands on Mun. I can save at this point.
  4. Lander craft leaves Mun surface and has an intercept point with MK1-3 Command Pod craft.
  5. While controlling the lander, with intercept but no visual on MK1-3, I am still able to Save.
  6. As soon as the lander craft gets within visual range of the MK1-3 Command Pod, I can see the visual RCS thruster on the MK1-3, and at this point, I can no longer save. I can also no longer hit Escape to go to Tracking Station/Space Center, and, if I do manage to get back to Kerbin surface, if I click Recover craft, nothing happens. Finally, the game also no longer auto-saves to the persistent save game.

Here is what I have tried to correct the problem, none of which has worked:

  • Attempted to use Quicksave
  • Attempt to enable, or enable and disabled, the RCS thruster setting on the MK1-3 command pod.
  • Use Alt-F12 and attempt to clear input locks.

I have attached two screenshots, 1 which shows the RCS thrusters firing while the MK1-3 command pod settings show that they are disabled, and the 2nd screenshot shows a NullReferencePointer error in the debug console.

This thread I created on the forums makes mention of at least one other person seeing a similar issue: https://forum.kerbalspaceprogram.com/index.php?/topic/199281-unable-to-save-game-in-111/

20210103144814_1.jpg (388 KB) 20210103144814_1.jpg djr5899, 01/03/2021 08:30 PM
20210103144753_1.jpg (390 KB) 20210103144753_1.jpg djr5899, 01/03/2021 08:30 PM
KSP.log (469 KB) KSP.log KSP log when unable to exit tutorial due to saving bug Portablejim, 02/15/2021 10:52 AM
55563
55564

Related issues

Has duplicate Kerbal Space Program - Bug #27189: Null refrence execpiton issue with all command modulesDuplicate01/30/2021

History

#1 Updated by victorr almost 4 years ago

  • Status changed from New to Confirmed
  • Assignee set to victorr
  • % Done changed from 0 to 10

Although I was able to escape the game and quicksave etc, I did get a number of NREs. We'll be investigating further. Thanks.

#3 Updated by nosdok almost 4 years ago

victorr wrote:

Although I was able to escape the game and quicksave etc, I did get a number of NREs. We'll be investigating further. Thanks.

I'm Alberto (login name 'nosdok')
I'm editing the quote from victorr because I don't know how to add my own comment.
I want to say that I have the same saving problem but in a different situation as victorr. If I try to save the game jsut nothing happens. When I press escape I return to the game but the game is not saved. In my case some ships also dissapear from my game as I press the [] buttoms and some menus become blank, like one on top right with summary of the fuels (Fx,Ox,Electricity,Xenon).

The game turned unplayable for me. I think this bug should be upgraded to Severity High.

I hope somebody is listening here about this problem.

#4 Updated by nosdok almost 4 years ago

  • Platform OSX added
  • Platform deleted (Windows)
  • Expansion deleted (Breaking Ground)

I just want to add that I'm using a MAC OS laptop with a eGPU Radeon RX 5700 XT in case that is relevant.

#5 Updated by maddog59d almost 4 years ago

  • Expansion Breaking Ground added

I'm editing because like 'nosdok' I don't see how to add my own independent comment.

I've run into the same problem while on EVA, not with any ships (so far): I've got Bill floating around with an SC-62 container on his back. I was able to do some construction (pulled parts out and mounted them w/ construction mode) w/o any problems, and was able to save games (Alt+F5) as normal. I got another part from a storage unit on another ship, put it in the container, and all seemed well until I tried to save the game (Alt+F5). Although I was able to input the save name, it wouldn't actually save the game; just no response from the menu. ESC closed the menu, but left the game paused; I had to tap ESC again to get it running. I tapped ESC again to bring up the 'Resume/Load/Save/Quit' menu and while I could Resume, Load, or go to Settings, the other menu buttons wouldn't work (Save, Quit, Space Center, Tracking Center). Reviewing the 'Load' menu, I could see that the save name that I'd input wasn't there.

#6 Updated by GewoonLukas_ almost 4 years ago

  • Platform Windows added

I have had the same issue on Windows. The following topic: https://bugs.kerbalspaceprogram.com/issues/27025 seems to relate to this topic.

#7 Updated by KerbalBoi almost 4 years ago

also have this problem, for me I was doing an easy mün mission and when I was docking with my command module after returning from the surface, the mk3 command pod's rcs thrusters seem to be on, but not draining any monopropellant, so I continued the mission thinking its a graphics bug, then I realized I can't quick save, so I just continued to mission, and when I splashed down on kerbin, I realized I can't even recover vessel or go back to the space center, I did a couple more missions without the mk3 command pod and quick saving and recovering works just fine. so there must be some sort of issue on the mk3 command pod

#9 Updated by realkerbal3x almost 4 years ago

This was not fixed in 1.11.1 however in my testing I think I have found a workaround - reload the scene (eg, go to the KSC/tracking station and back to the flight scene, or quicksave and then quickload) before returning to the physics range of the pod.

#10 Updated by KawaiiLucy almost 4 years ago

Seeing this bug as well, with no drawn patched conic of the trajectory, and quicksave unavailable due to "still moving over the surface" despite being already in space high. Rendez-vous with a transfer ship didn't fix this, as well as scene change.

#11 Updated by TriggerAu almost 4 years ago

  • Has duplicate Bug #27189: Null refrence execpiton issue with all command modules added

#13 Updated by Dunbaratu almost 4 years ago

KerbalBoi wrote:

also have this problem, for me I was doing an easy mün mission and when I was docking with my command module after returning from the surface, the mk3 command pod's rcs thrusters seem to be on, but not draining any monopropellant

Same problem. Mk3 command pod. Looks like RCS thrusters are showing their animation for being on, even though they do nothing and are not draining monopropellant fuel. No workaround because you cannot leave the scene in any way when the act of leaving the scene itself causes the exceptions that abort the attempt to do so.

This is the exception that I get every time I attempt to do anything that would save the game even temporarily, like go to the tracking center, the space center, or hitting quicksave:

NullReferenceException: Object reference not set to an instance of an object
  at PartModule.get_HasAdjusters () [0x00006] in <2afc64dea36946459d4707808bdac511>:0 
  at PartModule.Save (ConfigNode node) [0x0005c] in <2afc64dea36946459d4707808bdac511>:0 
  at ProtoPartModuleSnapshot..ctor (PartModule module) [0x000d2] in <2afc64dea36946459d4707808bdac511>:0 
  at ProtoPartSnapshot..ctor (Part PartRef, ProtoVessel protoVessel, System.Boolean preCreate) [0x00420] in <2afc64dea36946459d4707808bdac511>:0 
  at ProtoPartSnapshot..ctor (Part PartRef, ProtoVessel protoVessel) [0x00000] in <2afc64dea36946459d4707808bdac511>:0 
  at ProtoVessel..ctor (Vessel VesselRef, System.Boolean preCreate) [0x001e3] in <2afc64dea36946459d4707808bdac511>:0 
  at ProtoVessel..ctor (Vessel VesselRef) [0x00000] in <2afc64dea36946459d4707808bdac511>:0 
  at Vessel.BackupVessel () [0x00022] in <2afc64dea36946459d4707808bdac511>:0 
  at FlightState..ctor () [0x00264] in <2afc64dea36946459d4707808bdac511>:0 
  at Game.Updated (GameScenes startSceneOverride) [0x0001a] in <2afc64dea36946459d4707808bdac511>:0 
  at Game.Updated () [0x00045] in <2afc64dea36946459d4707808bdac511>:0 
  at PauseMenu.<draw>b__25_6 () [0x00037] in <2afc64dea36946459d4707808bdac511>:0 
  at DialogGUIButton.OptionSelected () [0x00000] in <2afc64dea36946459d4707808bdac511>:0 
  at DialogGUIButton.<Create>b__23_1 () [0x00000] in <2afc64dea36946459d4707808bdac511>:0 
  at UnityEngine.Events.InvokableCall.Invoke () [0x00011] in <5aeafee3fea24f37abd1315553f2cfa6>:0 
  at UnityEngine.Events.UnityEvent.Invoke () [0x00023] in <5aeafee3fea24f37abd1315553f2cfa6>:0 
  at UnityEngine.UI.Button.Press () [0x0001c] in <30d59899bde7411c81acfd6b3b3a894d>:0 
  at UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00009] in <30d59899bde7411c81acfd6b3b3a894d>:0 
  at UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) [0x00007] in <30d59899bde7411c81acfd6b3b3a894d>:0 
  at UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) [0x00063] in <30d59899bde7411c81acfd6b3b3a894d>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1)
UnityEngine.EventSystems.StandaloneInputModule:ReleaseMouse(PointerEventData, GameObject)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMousePress(MouseButtonEventData)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent(Int32)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent()
UnityEngine.EventSystems.StandaloneInputModule:Process()
UnityEngine.EventSystems.EventSystem:Update()

I am now required to abandon and pull up a backup save from the folder to continue the campaign.

To be clear, this is not a visual bug (the thrusters are showing, oh well). It's a gameplay fatal bug because you CANNOT LEAVE and save your progress. It's only because I know where the game stores backups secretly in a folder that I have any recourse to get out of this.

#14 Updated by Dunbaratu almost 4 years ago

Further info for developers that may be important:

- I didn't seem to be able to recreate this bug if the Mk3 Command Pod on the target vessel was not the root part of that vessel. When I re-rooted the target vessel in the VAB such that the Mk3 Command Pod was now the 2nd part down, underneath an RCS fuel tank I was using as the root part, the problem didn't seem to happen.

- When I changed the target craft design by swapping in a Mk1 command pod where the Mk3 command pod used to be, the problem did not occur using that as a test target vessel.

- When I changed the target craft design by swapping in a "Munar Excursion Module" lander (from Making History DLC, the one that looks like the Apollo LM), then I did get the problem to occur.

Possible conclusion from all the above: The problem triggers when the ROOT part of the vessel is a part that contains RCS thrusters in it.

#15 Updated by Portablejim almost 4 years ago

This bug can be reproduced using the docking tutorial. From a clean installation of KSP (only setting changed was muting the sound and making it fullscreen) I could reproduce the visual effects problems without the DLC (see https://www.youtube.com/watch?v=-qlIdGb01Kk for a screen recording from the main menu), but could still exit the game. With the DLC, I can fully reproduce the bug (see https://www.youtube.com/watch?v=pjO_UwhKXW0 for a screen recording from the main menu).

The key seems be as described in bug #27025: "accelerating towards a target when the target moves from within 2.2km to outside of 2.2km". This is likely to occur when new players are trying to dock using the tutorial.

Also attached is my log file from the with-DLC reproduction.

#16 Updated by Krazy1 over 3 years ago

I experienced this problem when flying a ship into physics range of a station that had a Mk1-3 pod. I passed through ~2 km threshold while warping 10x. I saw the exception on screen and could not exit the game. Then I switched to view the station and all of the RCS thrusters on the Mk1-3 pod appeared to be firing. The Mk1-3 pod is the root part of the station. I have DLC and common mods installed. I have flown in/ out of physics range of this station before without problems. The initial exception in the KSP log:


[EXC 19:31:19.365] NullReferenceException
    AudioMultiPooledFX.Play (System.Single power, System.Int32 transformIdx) (at <2afc64dea36946459d4707808bdac511>:0)
    AudioMultiPooledFX.OnEvent (System.Single power, System.Int32 transformIdx) (at <2afc64dea36946459d4707808bdac511>:0)
    EffectList.Event (System.String eventName, System.Single power, System.Int32 transformIdx) (at <2afc64dea36946459d4707808bdac511>:0)
    Part.Effect (System.String effectName, System.Single effectPower, System.Int32 transformIdx) (at <2afc64dea36946459d4707808bdac511>:0)
    ModuleRCSFX.OnAwake () (at <2afc64dea36946459d4707808bdac511>:0)
    PartModule.Awake () (at <2afc64dea36946459d4707808bdac511>:0)
    UnityEngine.DebugLogHandler:LogException(Exception, Object)
    ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
    UnityEngine.GameObject:AddComponent(Type)
    Part:AddModule(String, Boolean)
    ProtoPartSnapshot:Load(Vessel, Boolean)
    ProtoVessel:LoadObjects()
    Vessel:Load()
    Vessel:Update()

Followed by:
[ERR 19:31:19.530] Module ModuleRCSFX threw during OnStart: System.NullReferenceException
  at (wrapper managed-to-native) UnityEngine.Component.get_gameObject(UnityEngine.Component)
  at AudioMultiPooledFX.Play (System.Single power, System.Int32 transformIdx) [0x000a0] in <2afc64dea36946459d4707808bdac511>:0 
  at AudioMultiPooledFX.OnEvent (System.Single power, System.Int32 transformIdx) [0x0004c] in <2afc64dea36946459d4707808bdac511>:0 
  at EffectList.Event (System.String eventName, System.Single power, System.Int32 transformIdx) [0x00039] in <2afc64dea36946459d4707808bdac511>:0 
  at Part.Effect (System.String effectName, System.Single effectPower, System.Int32 transformIdx) [0x00006] in <2afc64dea36946459d4707808bdac511>:0 
  at ModuleRCSFX.SetupFX () [0x00006] in <2afc64dea36946459d4707808bdac511>:0 
  at ModuleRCS.OnStart (PartModule+StartState state) [0x00028] in <2afc64dea36946459d4707808bdac511>:0 
  at Part.ModulesOnStart () [0x00120] in <2afc64dea36946459d4707808bdac511>:0 

[ERR 19:31:19.654] Module ModuleRCSFX threw during OnStartFinished: System.NullReferenceException: Object reference not set to an instance of an object
  at PartModule.ApplyAdjustersOnStart () [0x0001c] in <2afc64dea36946459d4707808bdac511>:0 
  at Part.ModulesOnStartFinished () [0x00049] in <2afc64dea36946459d4707808bdac511>:0 


Then trying to exit game from pause menu:
[LOG 19:32:37.268] Game Paused!
[LOG 19:32:37.268] [UIMasterController]: ShowUI
[EXC 19:32:39.368] NullReferenceException: Object reference not set to an instance of an object
    PartModule.get_HasAdjusters () (at <2afc64dea36946459d4707808bdac511>:0)
    PartModule.Save (ConfigNode node) (at <2afc64dea36946459d4707808bdac511>:0)
    ProtoPartModuleSnapshot..ctor (PartModule module) (at <2afc64dea36946459d4707808bdac511>:0)
    ProtoPartSnapshot..ctor (Part PartRef, ProtoVessel protoVessel, System.Boolean preCreate) (at <2afc64dea36946459d4707808bdac511>:0)
    ProtoPartSnapshot..ctor (Part PartRef, ProtoVessel protoVessel) (at <2afc64dea36946459d4707808bdac511>:0)
    ProtoVessel..ctor (Vessel VesselRef, System.Boolean preCreate) (at <2afc64dea36946459d4707808bdac511>:0)
    ProtoVessel..ctor (Vessel VesselRef) (at <2afc64dea36946459d4707808bdac511>:0)
    Vessel.BackupVessel () (at <2afc64dea36946459d4707808bdac511>:0)
    FlightState..ctor () (at <2afc64dea36946459d4707808bdac511>:0)
    Game.Updated (GameScenes startSceneOverride) (at <2afc64dea36946459d4707808bdac511>:0)
    Game.Updated () (at <2afc64dea36946459d4707808bdac511>:0)
    PauseMenu.SubmitExitToMainMenuConfirmation () (at <2afc64dea36946459d4707808bdac511>:0)
    DialogGUIButton.OptionSelected () (at <2afc64dea36946459d4707808bdac511>:0)
    DialogGUIButton.<Create>b__23_1 () (at <2afc64dea36946459d4707808bdac511>:0)
    UnityEngine.Events.InvokableCall.Invoke () (at <5aeafee3fea24f37abd1315553f2cfa6>:0)
    UnityEngine.Events.UnityEvent.Invoke () (at <5aeafee3fea24f37abd1315553f2cfa6>:0)
    UnityEngine.UI.Button.Press () (at <30d59899bde7411c81acfd6b3b3a894d>:0)
    UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at <30d59899bde7411c81acfd6b3b3a894d>:0)
    UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at <30d59899bde7411c81acfd6b3b3a894d>:0)
    UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at <30d59899bde7411c81acfd6b3b3a894d>:0)
    UnityEngine.DebugLogHandler:LogException(Exception, Object)
    ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
    UnityEngine.EventSystems.EventSystem:Update()

After killing KSP and relaunching, I reloaded the prior autosave and repeated the same sequence without any errors.

#17 Updated by djr5899 over 3 years ago

victorr wrote:

Although I was able to escape the game and quicksave etc, I did get a number of NREs. We'll be investigating further. Thanks.

victorr is there any update on this? Seems like more and more people are reporting this issue, yet the status is still set low with almost no work completed. I had hoped something as reproducible as this would have been addressed more quickly in one of the hotfix updates to 1.11. For me and where I am at in my gameplay, I have completely stopped playing KSP due to this bug.

I understand there are likely lots of issues to work on and some more serious than this, but hoping that this is something that makes it into the next patch. Thanks!

#18 Updated by Simon over 3 years ago

I also experienced this game breaking bug. Same scenario as others. Mk3 command pod firing rcs thrusters, can no longer save from mun landing mission. KSP and both DLC only, no mods.

Can’t save, can’t go to tracking station, can’t recover vessels placed down on Kerrbin.

#19 Updated by KosmonausTheodoros over 3 years ago

I want to confirm this bug as well. Seems to be happening with the large 3 seat MK3 Module. Whenever you go on EVA and try to return to the ship, after going some distance like 4 km, you will be unable to save the game. No workaround, no quicksave, nothing you can do to get out. Seems like when Game tries to render this MK3 module again, as you have gone away and now you return, something in the game totally crashes.

WARNING
THIS IS A FATAL ERROR
WARNING

#20 Updated by emyrs42 over 3 years ago

KosmonausTheodoros wrote:

I want to confirm this bug as well. Seems to be happening with the large 3 seat MK3 Module. Whenever you go on EVA and try to return to the ship, after going some distance like 4 km, you will be unable to save the game. No workaround, no quicksave, nothing you can do to get out. Seems like when Game tries to render this MK3 module again, as you have gone away and now you return, something in the game totally crashes.

I can confirm this as well. it happens when you exit render range, then return; Both with an Space EVA, and when landed (on Minmus for me); a Tell tale sign of this is the MK1-3's RCS graphic is active, but RCS is not actually being used. It doesn't happen 100% of the time these are met, but it is pretty frequent. As above, saves, return to main, and exits are not functional during this bug.

#21 Updated by Serpensys over 3 years ago

Same thing here, I have a station orbiting the Mun and the RCS thrusters of the station's MK3 are always on but not consuming any RCS fuel. I can't save my game or do anything about it. I tried aproaching at less than 5x the speed but it didn't seem to help. I don't think the severity of this bug should be "low", it's a game breaker.

#22 Updated by schubert125 over 3 years ago

Never used this before, so hopefully thigs goes through as planned.

I've got this same bug, and it is absolutely game breaking. I haven't played any significant amount of KSP since 1.11 came out now because of this bug. I've only booted it after reinstalling several times, hoping it could fix this bug. If the severity could be bumped up so this possibly gets patched sooner, that'd be great.

#23 Updated by KerbalCade over 3 years ago

Yeah this should really be set to high. I finally figured out orbital rendezvous and docking without the tutorial and now I can’t play the game.

#24 Updated by jxdigital over 3 years ago

Same issue here. Context: after redocking my mun lander with my Mk1-3 Command Pod in lunar orbit, I did not have enough fuel to return home. I sent a rescue mission, which still saved once it reached lunar orbit. But after that:
- Saving not possible, just 'hangs' until you press escape. I was under the impression all my saves were done, but nothing saved after that point.
- The first Mk1-3 command pod visually appears to keep firing RCS thrusters, but nothing actually happens.

This bug is critical and game-breaking, a fix for this should have the highest priority!

#25 Updated by djr5899 over 3 years ago

djr5899 wrote:

victorr wrote:

Although I was able to escape the game and quicksave etc, I did get a number of NREs. We'll be investigating further. Thanks.

victorr is there any update on this? Seems like more and more people are reporting this issue, yet the status is still set low with almost no work completed. I had hoped something as reproducible as this would have been addressed more quickly in one of the hotfix updates to 1.11. For me and where I am at in my gameplay, I have completely stopped playing KSP due to this bug.

I understand there are likely lots of issues to work on and some more serious than this, but hoping that this is something that makes it into the next patch. Thanks!

While I have yet to test it out, this appears to be on the changelog for 1.11.2 that was released today. Fingers crossed.

#26 Updated by Portablejim over 3 years ago

djr5899 wrote:

While I have yet to test it out, this appears to be on the changelog for 1.11.2 that was released today. Fingers crossed.

I retested the docking tutorial. 1.11.2 seems to fix this.

#27 Updated by jxdigital over 3 years ago

The saving issue appears to have been fixed in 1.11.2 for me too, thanks for the release!

#28 Updated by victorr over 3 years ago

  • Status changed from Confirmed to Resolved
  • % Done changed from 10 to 100

Also available in: Atom PDF