Jump to content

KSP crashing while loading


Recommended Posts

As title says, KSP keeps crashing when trying to load. whenever I try to launch the game it loads without issue until it gets past the loading bar screen (the one right before the title screen) where it proceeds to get stuck, uses all available ram, freezes, and wont load even after waiting about 20 mins. I have never had this issue before, even when I used to use about triple the amount of mods I use now. I've tried to remove mods, without any luck unfortunately. any help would be greatly appreciated!

Link to comment
Share on other sites

Search and Destroy for all directories called @thumbs.  As the name says, these directories holds a ton os small images used for icons and other thingies in the UI. KSP has a bug the crashed the loading thread if one of these images is corrupt - but if you deleted them, KSP will just regenerate them and everything will be OK.

If even after it, the game still halts on loading, send us the full KSP.log using Dropbox or something and we will give it a peek.

Link to comment
Share on other sites

3 hours ago, psyroware said:

Tried doing what you suggested, no luck. I do have a way to currently play  KSP via deleting all my mods and data for it and just reinstalling through CKAN. But I'd want a permanent solution to this, here's the log file https://www.mediafire.com/file_premium/3wh9mgshpsy9rhe/KSP.log/file

It´s pretty weird, to tell you the true. As you said, the loading thread just halts (and catches fire!), out of the blue....

Without a Exception Dump on the log, we can only expeculte (damn, I HATE empty try...catches!), but since the last log lines I found are:

[LOG 12:04:33.929] KK: [KerbalKonstructs] Awake: Stopwatch: "Object loading1" elapsed time: 00:00:00.2966335
[ERR 12:04:33.941] KK: CreateGroupCenterIfMissing: No Group Found and no position found to create a Group: FP_LaunchSitesAppended/Instances/KermansStart/S2Crawlerway208m_g2-instances.cfg

[WRN 12:04:33.941] KK: [StaticInstance] Orientate: cannot load FP_LaunchSitesAppended/Instances/KermansStart/S2Crawlerway208m_g2-instances.cfg
[ERR 12:04:33.942] KK: CreateGroupCenterIfMissing: No Group Found and no position found to create a Group: FP_LaunchSitesAppended/Instances/KermansStart/S2Crawlerway52m_g2-instances.cfg

[WRN 12:04:33.942] KK: [StaticInstance] Orientate: cannot load FP_LaunchSitesAppended/Instances/KermansStart/S2Crawlerway52m_g2-instances.cfg
[ERR 12:04:33.942] KK: CreateGroupCenterIfMissing: No Group Found and no position found to create a Group: FP_LaunchSitesAppended/Instances/KermansStart/S2CrawlerwayCorner_g2-instances.cfg

[WRN 12:04:33.942] KK: [StaticInstance] Orientate: cannot load FP_LaunchSitesAppended/Instances/KermansStart/S2CrawlerwayCorner_g2-instances.cfg
[WRN 12:04:33.944] KK: [KerbalKonstructs] AttachFacilities: Value cannot be null.
Parameter name: value
[LOG 12:04:33.953] KK: [LaunchSiteManager] RegisterLaunchSite: Registering LaunchSite: Woomerang Helipad isHidden: False

it's reasonable to infer that it may be related to KerbalKonstructs.

Remove temporarily FP_LaunchSitesAppended and see if the problem goes away. Frankly, If it solves the problem, open a report on the maintainer's thread asking for help.

I think it's a 50%/50% chance of this ends up working, so I kept digging into KSP.log looking for anything else smelling.

I found this:

[EXC 12:01:57.687] NullReferenceException: Object reference not set to an instance of an object
    kOS.Communication.ConnectivityManager.RefreshInstance () (at <0240a4feb0b74a9bba3ba4b7e1d9711a>:0)
    kOS.Communication.ConnectivityManager.get_Instance () (at <0240a4feb0b74a9bba3ba4b7e1d9711a>:0)
    kOS.Module.kOSVesselModule.UnHookEvents () (at <0240a4feb0b74a9bba3ba4b7e1d9711a>:0)
    kOS.Module.kOSVesselModule.OnDestroy () (at <0240a4feb0b74a9bba3ba4b7e1d9711a>:0)
    UnityEngine.Object:DestroyImmediate(Object)
    <>c:<CompileModules>b__4_0(Type)
    LoadedAssembly:TypeOperation(Action`1)
    LoadedAssembyList:TypeOperation(Action`1)
    VesselModuleManager:CompileModules()
    <LoadObjects>d__90:MoveNext()
    UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
    <CreateDatabase>d__71:MoveNext()
    UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
    GameDatabase:StartLoad()
    <LoadSystems>d__11:MoveNext()
    UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
    LoadingScreen:Start()

And this happened before the KSPCF Exception handler kicking in, so since there's that pesky bug on KSP's Assembly Loader/Resolver, it may be injecting collateral effects on KSPCF - I had reports (buried somewhere, I didn't found them now) related to something borking inside the PQS thingy with KK installed that it's pretty similar to your case, and the memory leakage only happened with KSPCF installed. DISCLAIMER: KSPCF was misbehaving after the problem had happened, so it was not the troublemaker, only something that got hit with its pants down by it.

So if the first attempt (FP_LaunchSitesAppended) didn't worked, remove kOS and see what happens.

If it solves the problem, check if you had installed the latest kOS. If yes, open a report on the maintainer's thread asking for help. Perhaps downgrading it to a previous version would help?

If you still have the problem after removing kOS, then send another KSP.log so we can dig on the problem on the new configuration - this is going to degenerate into a fishing expedition, I'm afraid.

And do what you do, do not load any valuable savegame until the problem is really fixed (i.e. no weird exceptions on the KSP.log), as this may screw up the savegame beyound salvation. It may be a good idea to fully backup your savegames right now, just in case.

Link to comment
Share on other sites

Thank you! It was Kerbal Konstructs causing the issue for sure. When I removed the Vall base I made, the game would load with no issue. This sucks since Launch Sites Appended is my favorite Kerbal Konstructs mod :(

Thanks for the help!

Link to comment
Share on other sites

4 hours ago, psyroware said:

Thank you! It was Kerbal Konstructs causing the issue for sure. When I removed the Vall base I made, the game would load with no issue. This sucks since Launch Sites Appended is my favorite Kerbal Konstructs mod :(

Thanks for the help!

We can try to fix it, if you want! ;)

Link to comment
Share on other sites

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