Jump to content

This mis-load issue, ongoing


Recommended Posts

I've been having this on and off again problem with KSP getting stuck during loading.

Always sticks after Module Manager loads it's stuff and most of the games assets. The load progress bar stops usually on either a squad part, or some other mod part (Firespitter or other mods).

Here are the weird things though: Sometimes if I fiddle around with removing folders, it might start loading again no problem. Also, sometimes after a random CTD, the load problem will surface for a bit, and then seem to work itself out after a few startup tries, or if I just go away and come back to it later in the day.

Two other things that I notice that are strange: even once the load screen locks up at a part, the CPU usage for KSP continues to rise. Also, once I Alt-F4 out of the locked up loading screen, I can't remove the culprit part folder (Firespitter, Squad, whatever the load screen is stuck on) as it says the folder is still being used by another program.


I've got a couple of errors too at the end of my KSP log that seems to be related to whatever the culprit folder/part is at the time. I don't suspect that the part itself is ever the cause, but just the symptom of the problem.
Everything is up to date because I just upgraded the game and all mods (that I can) to 1.0.5, but this is the same problem I've had for many of the previous versions of the game.



Last few parts of the KSP Log (right now the loading is stopping on the Firespitter part Lancaster Engine; other times it has stopped on random squad parts, or other mod parts):

[EXC 09:17:10.790] NullReferenceException: Object reference not set to an instance of an object
ModuleEngines.SetupPropellant ()
ModuleEngines.OnLoad (.ConfigNode node)
PartModule.Load (.ConfigNode node)
Part.AddModule (.ConfigNode node)
PartLoader.ParsePart (.UrlConfig urlConfig, .ConfigNode node)
PartLoader+.MoveNext ()
[EXC 09:17:10.793] NullReferenceException: Object reference not set to an instance of an object
Firespitter.engine.FSengineSounds.createGroup (.FXGroup group, System.String name, Boolean loop)
Firespitter.engine.FSengineSounds.OnStart (StartState state)
Part.ModulesOnStart ()
Part+.MoveNext ()
[EXC 09:17:18.791] InvalidOperationException: Steamworks is not initialized.
Steamworks.InteropHelp.TestIfAvailableClient ()
Steamworks.SteamController.Shutdown ()
SteamController.KSPSteamController.OnDestroy ()
SteamController.KSPSteamController.OnApplicationQuit ()


-edit-

That NullReferenceException always follows the part that the load screen gets stuck on. And here's the thing - if I remove that part from the game, a different part down the load list will get stuck. I can keep deleting culprit parts, but a different part gets that NullReferenceException.
After removing the 'Lancaster Engine' part folder from Firespitter, another part gets the NRE:

[LOG 10:20:43.462] PartLoader: Compiling Part 'UniversalStorage/Parts/US_1R340_Wedge_Oxygen/US_1R340_Wedge_Oxygen/US_1R340_Wedge_Oxygen'
[EXC 10:20:43.473] NullReferenceException: Object reference not set to an instance of an object
(wrapper stelemref) object:stelemref (object,intptr,object)
BaseField.SetPvt (System.Reflection.FieldInfo field, System.Object newValue, System.Object host)
BaseField.ReadPvt (System.Reflection.FieldInfo field, System.String value, System.Object host)
BaseField.Read (System.String value, System.Object host)
BaseFieldList.Load (.ConfigNode node)
PartModule.Load (.ConfigNode node)
Part.AddModule (.ConfigNode node)
PartLoader.ParsePart (.UrlConfig urlConfig, .ConfigNode node)
PartLoader+.MoveNext ()
[EXC 10:20:43.478] NullReferenceException: Object reference not set to an instance of an object
PartLoader.GetDatabaseConfig (.Part p)
PartLoader.GetDatabaseConfig (.Part p, System.String nodeName)
DragCubeSystem.LoadDragCubes (.Part p)
Part+.MoveNext ()
[EXC 10:20:59.290] InvalidOperationException: Steamworks is not initialized.
Steamworks.InteropHelp.TestIfAvailableClient ()
Steamworks.SteamController.Shutdown ()
SteamController.KSPSteamController.OnDestroy ()
SteamController.KSPSteamController.OnApplicationQuit () Edited by Sarxis
Link to comment
Share on other sites

I don't think it is a mod broken for 1.0.5 because this has been ongoing for several versions now. It used to do this on my previous computer too which used Windows 7, and it still doing it on my brand new Windows 10 system too.

It wouldn't surprise me if it were something broken in a mod because I have migrated some of the mod files from my old install to my new one while keeping them up to date and replacing them every release. But if it is a legacy problem with older mod/files I don't know what it could be.

I don't have KW Rocketry either.
Link to comment
Share on other sites

hi,

i had this too. primary with KSPI Mod and its dependencies.
quickfix: delete MM cache.

Long fix: dont upgrade any dependencies of KSPI when the mod itself does not bring the new version.

i.e.: wildberry*****something had been updated to *.*.24 while KSPI was shiped with *.*.23.
after installing he 24, i couldnt get KSP to load up, even with MM cache cleaning.
So i reversed to the 23 build tht was shipped with KSPI and it worked well.

So: delete all KSPI dependencies and copy just what came with the plugin.

=> im not saying its KSPI in your case; but that you should take care when you update something.
Best is to delete every folder you not installed by yourself and reinstall the mods that ship others in their packages Edited by Speadge
Link to comment
Share on other sites

I had similar problems with 1.0.4 under Linux, this week, consistently stopping at the same point. No signs of RAM shortage. Removing one parts mod did change the indicated halting point. And nothing apparently changed between loading and not-loading. If I get hit again I shall give the MM cache a try. There can be problems if RAM usage gets to point where swapping to disk comes into play, but that is different in so many ways. This was happening with only 1.6GB of RAM in use by KSP, so plenty of RAM available.

A similar problem with Linux and Windows? I know it's not much help without logfiles, but I think it's worth mentioning.

v1.1 will be interesting.

Incidentally, I have a suspicion that default Linux settings for virtual memory may be optimised for the machines of a decade ago, when 2GB of RAM was a lot. You need some swap partition, but are the old suggestions leading to huge amounts of data being moved without need?

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