Jump to content

Bigger Save files Cause Game to Autosave Frequently and Freeze Frequently for Crafts that are already Landed (new feature 0.1.1.0)


Anth

Recommended Posts

KSP2 Version: 0.1.0.0.20892
KSP2 Version: 0.1.1.0.21572
Operating System: Windows 10
CPU+GPU+RAM: i9 9900K+3070ti+32GB
Mods used: None.

Expected Behavior:
That a craft is smooth on landing and remains that way even if it's moving or rocking back and forth and that autosaves are used sparingly.
Observed Behavior: 
KSP2 is autosaving almost constantly at times and the game is freezing momentarily every time that happens for higher part count saves. (1000 parts and over)

 

Video Evidence:

The Following Videos are showing Save files that are a little above 1000 parts in Total Which When KSP2 Gets More Optimized People Will be Using Way More Than That.

Autosave Freeze When a Lander is rocking back and forth
https://youtu.be/Lqp_4cvgf9A
Save File:
https://www.dropbox.com/s/hji481sy1th1md4/12PartCraft1012PartSave.zip?dl=0

Autosave Freeze When a rover is rotating end over end in one spot and not losing contact with the ground.
https://youtu.be/t7zxMrvCyaE?t=11
Save File:
https://www.dropbox.com/s/2mm7se9njtn5caa/1017PartAutoSaveFreezingSave.zip?dl=0

 

Spirit of Autosaves:
The idea is that it's an emergency save of sorts. If the player screws up or the computer/KSP2 crashes they have the choice of going back up to 30 minutes
The way this is acting it's eliminating that ability.

 

Additional Information:

  • If a Kerbal lands on the ground the game will freeze for a moment every time with 1000+ Parts
  • Game will freeze for a moment on exiting the atmosphere.
  • Game will freeze for a moment on entering the atmosphere.
  • Game will freeze for a moment on SOI change.
  • This doesn't make for smooth game play.
  • Didn't happen in 0.1.0.0

New feature from the 1st patch which is causing these problems: 

Quote

Added feature: game autosaves when landing on a celestial body, when entering an SOI, and when entering or exiting an atmosphere 

Recommendations:

  • Somehow determine that Kerbal's landing and rocking back and forth of crafts and rotating rovers are different from landing.
  • Give the player the option to turn this on or off (turning off autosaves in the settings configuration file doesn't stop this new 0.1.1.0 feature)
  • Remember that saving the game freezes the game play and that can be rather inconvenient. 
  • Somehow change it so that saving the game doesn't cause the game to freeze at all. Even 1/4 of a second is noticeable.
Edited by Anth12
Link to comment
Share on other sites

I am also seeing the issue where the game freezes ( windows reports unresponsive app) when the autosave triggers.   

When doing an EVA on a planet surface, this problem has rendered the game nearly impossible, because I seem to be getting the unresponsive glitches every 30 seconds or so, and nearly every time that I jump my kerbal, when the kerbal lands on the ground or the ship.     because It is making it impossible for me to get my kerbal back into the ship.  

In my case, the active ship was a very modestly side lander with a very modest part count, but I have quite a few other vessels out and about the solar system.  

Link to comment
Share on other sites

On 3/24/2023 at 10:23 AM, Anth12 said:

KSP2 Version: 0.1.0.0.20892
KSP2 Version: 0.1.1.0.21572
Operating System: Windows 10
CPU+GPU+RAM: i9 9900K+3070ti+32GB
Mods used: None.

Expected Behavior:
That a craft is smooth on landing and remains that way even if it's moving or rocking back and forth and that autosaves are used sparingly.
Observed Behavior: 
KSP2 is autosaving almost constantly at times and the game is freezing momentarily every time that happens for higher part count saves. (1000 parts and over)

 

Video Evidence:

The Following Videos are showing Save files that are a little above 1000 parts in Total Which When KSP2 Gets More Optimized People Will be Using Way More Than That.

Autosave Freeze When a Lander is rocking back and forth
https://youtu.be/Lqp_4cvgf9A
Save File:
https://www.dropbox.com/s/hji481sy1th1md4/12PartCraft1012PartSave.zip?dl=0

Autosave Freeze When a rover is rotating end over end in one spot and not losing contact with the ground.
https://youtu.be/t7zxMrvCyaE?t=11
Save File:
https://www.dropbox.com/s/2mm7se9njtn5caa/1017PartAutoSaveFreezingSave.zip?dl=0

 

Spirit of Autosaves:
The idea is that it's an emergency save of sorts. If the player screws up or the computer/KSP2 crashes they have the choice of going back up to 30 minutes
The way this is acting it's eliminating that ability.

 

Additional Information:

  • If a Kerbal lands on the ground the game will freeze for a moment every time with 1000+ Parts
  • Game will freeze for a moment on exiting the atmosphere.
  • Game will freeze for a moment on entering the atmosphere.
  • Game will freeze for a moment on SOI change.
  • This doesn't make for smooth game play.
  • Didn't happen in 0.1.0.0

New feature from the 1st patch which is causing these problems: 

Recommendations:

  • Somehow determine that Kerbal's landing and rocking back and forth of crafts and rotating rovers are different from landing.
  • Give the player the option to turn this on or off (turning off autosaves in the settings configuration file doesn't stop this new 0.1.1.0 feature)
  • Remember that saving the game freezes the game play and that can be rather inconvenient. 
  • Somehow change it so that saving the game doesn't cause the game to freeze at all. Even 1/4 of a second is noticeable.

I have this issue in rampant fashion. It's a game breaking bug to be honest, I had three 2.384Gb auto-save files after playing the game for about an hour and a half. As soon as I reached Duna it just broke, froze almost constantly for like 30 - 40 seconds at a time.

Link to comment
Share on other sites

2 hours ago, Kerbin Launch Coalition said:

I have this issue in rampant fashion. It's a game breaking bug to be honest, I had three 2.384Gb auto-save files after playing the game for about an hour and a half. As soon as I reached Duna it just broke, froze almost constantly for like 30 - 40 seconds at a time.

There is information out there to counter the increasing size issue. it's usually the same things spammed again and again so they can be removed. 2.384GB is a lot of text to remove though.

Someone said it fixes the issue once all the extra stuff is removed but I am not sure it won't start happening again.

Link to comment
Share on other sites

I just tested it. Removed spamming information from a 700mb file. Took me a few tries to get it right but now its 978KB and still loading. Not exactly simple to know what to delete though, and I am not even sure if I didn't delete some craft from the save unintentionally.

 

Link to comment
Share on other sites

  • 2 weeks later...
On 3/26/2023 at 12:00 AM, Anth12 said:

I just tested it. Removed spamming information from a 700mb file. Took me a few tries to get it right but now its 978KB and still loading. Not exactly simple to know what to delete though, and I am not even sure if I didn't delete some craft from the save unintentionally.

You able to point me in the right direction of this 'fix' as the game is unplayable right now, as it grinds to a halt after about an hour to an hour and half with the same recurring issue.

Link to comment
Share on other sites

1 hour ago, Kerbin Launch Coalition said:

You able to point me in the right direction of this 'fix' as the game is unplayable right now, as it grinds to a halt after about an hour to an hour and half with the same recurring issue.

Try this first.

https://old.reddit.com/r/KerbalSpaceProgram/comments/129k2lw/i_gained_1020_fps_with_this_simple_fix_in_ksp_2/

Make sure you back up the save you do this to first. Then straight after you have done it do a Quick Save then use the quicksave instead. I had a minor issue with this technique.

 

The alternative is to use the following. Someone created this application but its slightly complicated to get working. look to the readme first:

https://github.com/dbidwell94/ksp2_save_file_dedupe/releases/tag/v0.0.1-alpha

Also back up everything before using this one. It will do it to all your save files. You could direct it to one save folder though if you so choose.

Link to comment
Share on other sites

18 hours ago, Anth12 said:

Try this first.

https://old.reddit.com/r/KerbalSpaceProgram/comments/129k2lw/i_gained_1020_fps_with_this_simple_fix_in_ksp_2/

Make sure you back up the save you do this to first. Then straight after you have done it do a Quick Save then use the quicksave instead. I had a minor issue with this technique.

 

The alternative is to use the following. Someone created this application but its slightly complicated to get working. look to the readme first:

https://github.com/dbidwell94/ksp2_save_file_dedupe/releases/tag/v0.0.1-alpha

Also back up everything before using this one. It will do it to all your save files. You could direct it to one save folder though if you so choose.

I have nothing to back-up, I make a habit of deleting autosaves and stuff after I've done *a* mission to prevent the game breaking. But I'll give it a go, thanks!

Link to comment
Share on other sites

  • 2 weeks later...
On 4/8/2023 at 4:17 PM, Kerbin Launch Coalition said:

I have nothing to back-up, I make a habit of deleting autosaves and stuff after I've done *a* mission to prevent the game breaking

On 4/8/2023 at 4:17 PM, Kerbin Launch Coalition said:

I have nothing to back-up, I make a habit of deleting autosaves and stuff after I've done *a* mission to prevent the game breaking. But I'll give it a go, thanks!

. But I'll give it a go, thanks!

Since the second patch dropped, I'm finding myself increasingly thinking this has been fixed. Either that or I'm getting extremely lucky. Did a few separate saves and the max size of save files has been in megabytes. Is it fixed? :huh:

Link to comment
Share on other sites

At launch natural perturbations in the rocket make the game think it is taking off and landing.  This freezes the game up over and over during a critical time contributing to even more physics bugs.

Link to comment
Share on other sites

I had this happen on my first save loading on patch 2.  Reloading an earlier save fixed it.  It was an incredibly nasty bug using up memory, disk space, and even preempting the windows task manager!

Link to comment
Share on other sites

On 4/8/2023 at 5:01 AM, Anth12 said:

Try this first.

https://old.reddit.com/r/KerbalSpaceProgram/comments/129k2lw/i_gained_1020_fps_with_this_simple_fix_in_ksp_2/

Make sure you back up the save you do this to first. Then straight after you have done it do a Quick Save then use the quicksave instead. I had a minor issue with this technique.

 

The alternative is to use the following. Someone created this application but its slightly complicated to get working. look to the readme first:

https://github.com/dbidwell94/ksp2_save_file_dedupe/releases/tag/v0.0.1-alpha

Also back up everything before using this one. It will do it to all your save files. You could direct it to one save folder though if you so choose.

I tried v0.0.2 and not working

i have below error messages

ksp_save_debloat.exe
Checking for binary config file...

Parsing config...

thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src\main.rs:88:42
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

 

Link to comment
Share on other sites

  • 1 month later...
On 4/18/2023 at 8:00 AM, Jason_25 said:

At launch natural perturbations in the rocket make the game think it is taking off and landing.  This freezes the game up over and over during a critical time contributing to even more physics bugs.

Merged with this bug report. The bug is spamming autosaves thinking any little movement counts as a landing. Bigger the autosave the more obvious it is.

Link to comment
Share on other sites

×
×
  • Create New...