verniervonkerman Posted April 21, 2023 Share Posted April 21, 2023 (edited) 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 April 22, 2023 by verniervonkerman adding tags Quote Link to comment Share on other sites More sharing options...
verniervonkerman Posted April 22, 2023 Author Share Posted April 22, 2023 I also realized that when the game crashes and I verify the files, 5-7 files have to be reacquired. Quote Link to comment Share on other sites More sharing options...
jimmymcgoochie Posted April 24, 2023 Share Posted April 24, 2023 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. Quote Link to comment Share on other sites More sharing options...
verniervonkerman Posted April 25, 2023 Author Share Posted April 25, 2023 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 Quote Link to comment Share on other sites More sharing options...
darthgently Posted April 25, 2023 Share Posted April 25, 2023 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 Quote Link to comment Share on other sites More sharing options...
verniervonkerman Posted April 25, 2023 Author Share Posted April 25, 2023 How do I do an OS check? How much Drive Space is required for KSP to run properly? And what do you mean by "Free ram+swap"? Quote Link to comment Share on other sites More sharing options...
verniervonkerman Posted April 26, 2023 Author Share Posted April 26, 2023 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. Quote Link to comment Share on other sites More sharing options...
verniervonkerman Posted May 4, 2023 Author Share Posted May 4, 2023 Ok. I just reinstalled windows 3 times and had to reinstall everything as a result... SAME ISSUE occurs Quote Link to comment Share on other sites More sharing options...
verniervonkerman Posted May 14, 2023 Author Share Posted May 14, 2023 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) Quote Link to comment Share on other sites More sharing options...
verniervonkerman Posted 15 minutes ago Author Share Posted 15 minutes ago This issue has since been resolved on my other thread. Sorry for necroposting, but for those who are in the same boat as me, if you see this error on a stock game, after verifying KSP itself is fine, check your hardware. If you have Intel like me, you may need a replacement CPU because of the whole Raptor Lake incident. That's all from me. Post more here or DM me for questions. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.