Jump to content

Failure to Load When Attempting to Load a Game With a Crash-Landed Vessel


The Aziz

Recommended Posts

Reported Version: v0.1.3.2 (latest) | Mods: none | Can replicate without mods? Yes 
OS: Win10 | CPU: i7-10700K | GPU: RTX2060 | RAM32GB

 

I'm aware such reports exist but this will let me attach files so there it is.

What i've done was land a rescue craft on the Mun, pick the stranded Kerbal (on the way the ship of course flipped as soon as it got into physics range). Managed to get it up, took off. Tried to make a maneuver only to see that I have no trajectory lines in map view. Quicksaved, tried to quickload, it never loaded. Stuck on Creating a vessel.

Game log and affected save file attached.

 

Included Attachments:

Desktop.zip

Edited by Anth12
Link to comment
Share on other sites

Wanted to add here that, after loading an earlier save, finishing the mission in one go and recovering the ship few days ago, now none of the savepoints that happened after the landing load at all. Not sure if it has something to do with that other ship that broke apart on physics load.

Link to comment
Share on other sites

1 hour ago, The Aziz said:

Wanted to add here that, after loading an earlier save, finishing the mission in one go and recovering the ship few days ago, now none of the savepoints that happened after the landing load at all. Not sure if it has something to do with that other ship that broke apart on physics load.

I have tested your bugged save file and there is definitely a problem.
Anyway you could supply the save file before it happened?
I want to compare the actual files to see what the difference is. Then I should be able to narrow down exactly what is going on.

 

Link to comment
Share on other sites

21 hours ago, Anth12 said:

I have tested your bugged save file and there is definitely a problem.
Anyway you could supply the save file before it happened?
I want to compare the actual files to see what the difference is. Then I should be able to narrow down exactly what is going on.

 

https://filetransfer.io/data-package/uN8RKxe5#link

Active vessel orbiting around the Mun is supposed to land near the crashed one, and that's where all later saves are, none of which load.

I tried again on that save, flew the ship back despite having no orbit lines, built a small aircraft in VAB,  crashed it, and yet again it froze on VAB loading upon revert. With this at the end of the log file.

Uploading Crash Report
NullReferenceException: Object reference not set to an instance of an object
  at KSP.Sim.impl.StagingComponent.InjectStagingState (KSP.Sim.State.StagingState stateData, KSP.Sim.ISimulationModelMap simulationModelMap) [0x000d1] in <57799b60a4cd4df8b3c9aec811d65aed>:0 
  at KSP.Sim.impl.StagingComponent.SetState (System.Object stateData, KSP.Sim.ISimulationModelMap simulationModelMap) [0x00000] in <57799b60a4cd4df8b3c9aec811d65aed>:0 
  at KSP.Sim.impl.SpaceSimulation.CreateVesselSimObjectInternal (KSP.Sim.SerializedAssembly vessel, System.String ownerPlayerGuidString, System.Byte ownerPlayerId, System.Byte authorityPlayerId, System.UInt64 vesselObjectId, System.String debuggingName) [0x00488] in <57799b60a4cd4df8b3c9aec811d65aed>:0 
  at KSP.Sim.impl.SpaceSimulation.CreateVesselSimObject (KSP.Sim.SerializedAssembly vessel, System.String owningPlayerGuidString, System.Byte owningPlayerId, System.Byte authorityPlayerId) [0x00067] in <57799b60a4cd4df8b3c9aec811d65aed>:0 
  at KSP.Game.Load.CreateVesselsFlowAction.DoAction (System.Action resolve, System.Action`1[T] reject) [0x000b4] in <57799b60a4cd4df8b3c9aec811d65aed>:0 
  at KSP.Game.Flow.FlowAction.Do (System.Action`1[T] resolve, System.Action`2[T1,T2] reject) [0x0001b] in <57799b60a4cd4df8b3c9aec811d65aed>:0 
  at KSP.Game.Flow.SequentialFlow.NextFlowAction () [0x000a0] in <57799b60a4cd4df8b3c9aec811d65aed>:0 
  at KSP.Game.Flow.SequentialFlow.Update () [0x00009] in <57799b60a4cd4df8b3c9aec811d65aed>:0 

EDIT again:

And then it failed to load, and I was able to switched somehow back to KSC with this right below:

[Debug] [Telemetry]
[System] Action (Creating Vessel) timed out. (300s)
[Debug] [SaveLoadManager]: Loading failed [306,30s].
[Debug] SaveLoadManager.TriggerFailure(): Called with failure code = Error_SomeUnknownError!!!
No "" Action Bound on UIAction_Void_Button "KSP2DialogButton(Clone)"
No "" Action Bound on UIAction_Void_Button "KSP2DialogButton(Clone)"
[General] [State] Swapping game state! prev: [MainMenu] --> new: [Loading]
[General] [State] Swapping game state! prev: [Loading] --> new: [KerbalSpaceCenter]

EDIT3: But now the time is frozen. And the log is flooded with exceptions and divide by zero errors. And the file just keeps growing as more and more of the errors appear every milisecond, had to close the game. In 63000-lines long game log, 1049 are "NullReferenceException: Object reference not set to an instance of an object", and 43974 are "[Flight] Divide by zero Warning in Vessel SAS UpdateMaximumAcceleration, a component of moment of inertia tensor is zero. Falling back to maximum angular acceleration of 1. SAS performance will be degraded."

Gods this is getting too interesting to just abandon the save, which I was about to do only 10 minutes ago.

Edited by The Aziz
Link to comment
Share on other sites

@The Aziz

Corrected Save File:
AdjustedSaveFileForTheAziz.json

2 bugs:

  1. Save broken by the landed craft. Removed it by editing the file and deleting it which caused the save file to load again then....
  2. Orbit Lines. Added Orbit lines by editing the file and changed it to Orbit/Orbiting from Surface/Landed.

Now maybe I can figure out what in the landed crafts code after it exploded caused it to upset KSP2 so much.

 

Link to comment
Share on other sites

Short note that this is the same campaign that had problems with flags and ground before.

I think it's worthy for the devs taking a deeper look at it. Right now it's not a big deal, it's just sandbox, there's no permanence in it, I can just start a new one without losing much. But once long-term gameplay starts taking place (i.e colonies), such crazy behavior should be prevented, not only worked around when it happens. Losing a ship (or worse, a base) and the crew, just to save the... save, doesn't sound like a solution in the long run. I can provide the latest logs, savefiles, recordings (I got a bunch of new ones)

Link to comment
Share on other sites

On 7/29/2023 at 11:04 PM, The Aziz said:

And then it failed to load, and I was able to switched somehow back to KSC with this right below:

[Debug] [Telemetry]
[System] Action (Creating Vessel) timed out. (300s)
[Debug] [SaveLoadManager]: Loading failed [306,30s].
[Debug] SaveLoadManager.TriggerFailure(): Called with failure code = Error_SomeUnknownError!!!
No "" Action Bound on UIAction_Void_Button "KSP2DialogButton(Clone)"
No "" Action Bound on UIAction_Void_Button "KSP2DialogButton(Clone)"
[General] [State] Swapping game state! prev: [MainMenu] --> new: [Loading]
[General] [State] Swapping game state! prev: [Loading] --> new: [KerbalSpaceCenter]

 

Unfortunately, now the magic loading timeout (seriously, I have never heard about such thing before) this time didn't let me open the menu. Timewarp works (I think, it clicks), I hear interface sounds but the screen is almost completely frozen.

Link to comment
Share on other sites

  • 4 weeks later...
×
×
  • Create New...