Jump to content

KSP can't load save files. Even if it does, it crashes after a single launch.


Recommended Posts

Most notably, I found this in the logs.

 

NullReferenceException: Object reference not set to an instance of an object
    PQS.Mod_OnVertexBuild (PQS+VertexBuildData data) (at <4b449f2841f84227adfaad3149c8fdba>:0)
    PQS.BuildQuad (PQ quad) (at <4b449f2841f84227adfaad3149c8fdba>:0)
    PQ.Build () (at <4b449f2841f84227adfaad3149c8fdba>:0)
    PQ.SetVisible () (at <4b449f2841f84227adfaad3149c8fdba>:0)
    PQ.UpdateVisibility () (at <4b449f2841f84227adfaad3149c8fdba>:0)
    PQ.UpdateSubdivision () (at <4b449f2841f84227adfaad3149c8fdba>:0)
    PQ.UpdateSubdivision () (at <4b449f2841f84227adfaad3149c8fdba>:0)
    PQ.UpdateSubdivision () (at <4b449f2841f84227adfaad3149c8fdba>:0)
    PQ.UpdateSubdivision () (at <4b449f2841f84227adfaad3149c8fdba>:0)
    PQ.UpdateSubdivision () (at <4b449f2841f84227adfaad3149c8fdba>:0)
    PQS.UpdateQuadsInit () (at <4b449f2841f84227adfaad3149c8fdba>:0)
    PQS.StartSphere (System.Boolean force) (at <4b449f2841f84227adfaad3149c8fdba>:0)
    PQS.ForceStart () (at <4b449f2841f84227adfaad3149c8fdba>:0)
    PSystemSetup.SetPQSActive (PQS pqs) (at <4b449f2841f84227adfaad3149c8fdba>:0)
    FlightDriver.Start () (at <4b449f2841f84227adfaad3149c8fdba>:0)

 

https://www.dropbox.com/s/8lbd2859d11vzqo/KSP.log?dl=0

Log file link is up there.

I hope I can resolve this so I can mod and play KSP again.

Edited by verniervonkerman
adding tags
Link to comment
Share on other sites

1.       Right click KSP in Steam library > browse local files.

2.       Copy KSP/saves/<your save name> and paste that on the desktop.

3.       If you used CKAN to install your mods (and you should!), click File > export modpack and save that to your desktop too. Screenshot your GameData folder with mods installed (even if you use CKAN) so you can check that you’ve reinstalled them all later.

4.       Uninstall all mods from KSP.

5.       Right click KSP in Steam library > properties, disable Steam cloud.

6.       Completely uninstall KSP through Steam.

7.       Reinstall KSP through Steam, right click > Properties > local files > verify integrity of game files. If you want to play a version other than the current release (1.12.4), pick that version in the Betas tab and verify the files once Steam has installed that version.

8.       Run KSP and make sure it loads properly without mods.

9.       Browse local files again, then go up one level (to Steam/steamapps/common) and copy the Kerbal Space Program directory, then paste it where you want to keep it- make sure it’s outside Steam’s folders so it can’t meddle with it in future.

10.   Rename the KSP folder so you know what mods you’re using in it (e.g. 1.10.1 RO/RP-1, 1.12.3 JNSQ), then add this new copy to CKAN and use the modpack created in step 3 to reinstall all your mods; or reinstall them by hand if you don’t use CKAN. Double-check that all files and folders you had in GameData before uninstalling/reinstalling everything are there again, if not then you’re probably missing some mods.

11.   Move your saves from your desktop into your new KSP copy’s saves folder, run KSP, load save. A warning about vessels having missing parts is usually because a mod is missing or wasn’t installed correctly.

You can make as many copies of KSP as you want, have several copies on different versions and with different sets of mods in each- CKAN makes this much easier to keep track of, but it’s still possible to do it all yourself.

Link to comment
Share on other sites

14 minutes ago, verniervonkerman said:

Tried that. Every time I launch KSP, it crashes upon launching or creating a save file.

When I verify the files, 1 or 2 files always fail to verify.

https://www.dropbox.com/s/rwf6vvvmrpt90be/Screenshot 2023-04-24 201119.png?dl=0

If that were happening to me I'd  do an OS check of the hard drive for read/write errors.

I'd also check that there was free drive space and free ram+swap when game is running for good measure

Link to comment
Share on other sites

did chkdsk. didn't work. But I did make a groundbreaking discovery with regards to the log file exception.

 

Spoiler

NullReferenceException: Object reference not set to an instance of an object
    PQSMod_UVPlanetRelativePosition.OnQuadBuilt (PQ quad) (at <4b449f2841f84227adfaad3149c8fdba>:0)
    PQS.Mod_OnQuadBuilt (PQ quad) (at <4b449f2841f84227adfaad3149c8fdba>:0)
    PQS.BuildQuad (PQ quad) (at <4b449f2841f84227adfaad3149c8fdba>:0)
    PQ.Build () (at <4b449f2841f84227adfaad3149c8fdba>:0)
    PQ.SetVisible () (at <4b449f2841f84227adfaad3149c8fdba>:0)
    PQ.UpdateVisibility () (at <4b449f2841f84227adfaad3149c8fdba>:0)
    PQ.UpdateSubdivision () (at <4b449f2841f84227adfaad3149c8fdba>:0)
    PQ.UpdateSubdivision () (at <4b449f2841f84227adfaad3149c8fdba>:0)
    PQ.UpdateSubdivision () (at <4b449f2841f84227adfaad3149c8fdba>:0)
    PQ.UpdateSubdivision () (at <4b449f2841f84227adfaad3149c8fdba>:0)
    PQ.UpdateSubdivision () (at <4b449f2841f84227adfaad3149c8fdba>:0)
    PQS.UpdateQuadsInit () (at <4b449f2841f84227adfaad3149c8fdba>:0)
    PQS.StartSphere (System.Boolean force) (at <4b449f2841f84227adfaad3149c8fdba>:0)
    PQS.ForceStart () (at <4b449f2841f84227adfaad3149c8fdba>:0)
    PSystemSetup.SetPQSActive (PQS pqs) (at <4b449f2841f84227adfaad3149c8fdba>:0)
    PSystemSetup.SetSpaceCentre () (at <4b449f2841f84227adfaad3149c8fdba>:0)
    PSystemSetup.OnLevelLoaded (GameScenes level) (at <4b449f2841f84227adfaad3149c8fdba>:0)
    PSystemSetup.OnSceneLoaded (UnityEngine.SceneManagement.Scene scene, UnityEngine.SceneManagement.LoadSceneMode mode) (at <4b449f2841f84227adfaad3149c8fdba>:0)
    UnityEngine.SceneManagement.SceneManager.Internal_SceneLoaded (UnityEngine.SceneManagement.Scene scene, UnityEngine.SceneManagement.LoadSceneMode mode) (at <12e76cd50cc64cf19e759e981cb725af>:0)

This happens when I load one save file with no flights or progress. I made another file and it loaded just fine on first boot. HOWEVER, the moment I reboot, that file becomes corrupted as well.

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...

Ok. Turns out my RAM failed. After having it replaced, it now crashes after 3 launches with the following exception taken from Player.log

 

NullReferenceException: Object reference not set to an instance of an object
  at PQS.BuildVertexMapCoords (PQS+VertexBuildData data) [0x00195] in <4b449f2841f84227adfaad3149c8fdba>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
UnityEngine.<>c:<RegisterUECatcher>b__0_0(Object, UnhandledExceptionEventArgs)
 
(Filename: <4b449f2841f84227adfaad3149c8fdba> Line: 0)

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