Jump to content

Cannot load ships from VAB.


Recommended Posts

Hey guys and rocket enthusiasts! :)

I've been experiencing a really annoying problem lately.

Whenever I enter the VAB and press the little yellow folder in the right upper corner to load my ships,

the screen freezes for like 3 seconds and then nothing happens..

After that I can't build anything in the VAB. When I choose a part, it just freezes in the floor..

However I can load all ships from SPH. Both from SPH and VAB.

I was thinking that it could have something to do with the save, because it's a save from before the beta update.

Could this have a saying in the problem?

Any idea what this could be caused by and how to solve it?

Mods I use:

Astronomers Visual Pack

Chatterer

Protractor

Kerbal Engineer

Thanks

Loopman

Link to comment
Share on other sites

Happened to me too: http://forum.kerbalspaceprogram.com/threads/111085-Cannot-Load-Ships-into-VAB-Craft-file-is-normal

The only thing I could do was reinstall this game. Squad needs to get off their gimbal and fix this glitch. Also, if you have 2+ installs of ksp, it spreads to those too. And people complain about crashing with 500 mods.

Link to comment
Share on other sites

TL;DR: You might have a corrupt .craft file.

I just ran into a similar issue, presumably caused by somehow having a corrupt .craft file.

In my particular case, this was the sequence of events:

1. I named a ship, put the first part on, and saved it. (Not entirely certain of order.)

2. I realized I had an existing craft which would be a good basis to modify, so decided to load that .craft file instead

3. Clicking Load did nothing -- even after exiting the VAB and some other trickery.

I opened up the debug log and saw it complaining about a particular ship not having a root part:

[ERR 22:14:13.443] [ShipTemplate]: Could not locate root part in Comsat KP1 as 0 entries remain after eliminating all parts listed as children. This is probably wrong.

[EXC 22:14:13.445] NullReferenceException: Object reference not set to an instance of an object
ShipTemplate.SetIfControllable ()
ShipTemplate.LoadShip (.ConfigNode root)
CraftBrowser+..ctor (System.IO.FileInfo )
CraftBrowser.buildCraftList ()
CraftBrowser..ctor (Rect rect, EditorFacility facility, System.String profile, System.String title, .SelectedCallback onFileSelected, .CancelledCallback onCancel, UnityEngine.GUISkin guiSkin, UnityEngine.Texture2D fileIcon, Boolean showFlagButton)
EditorLogic.loadShip ()

-- then realized that it was the ship I had saved in step 1. Sure enough, I managed to somehow save a ship with that name with zero parts, which results in a .craft file that looks like this:

ship = Comsat KP1
version = 0.90.0
description =
type = VAB
size = 0,0,0

To see if this what happened to you, look at the debug log in game (Alt-F12 on Windows), or just look over KSP\Saves\Company\Ships\VAB for an extremely small (1kb, actually <100 bytes) .craft file and delete it if present.

Hopefully, Squad can fix this to skip loading of the affected craft and possibly indicate it as corrupted) rather than breaking the load facility in its entirety, as it prevents loading any craft if one craft is broken.

Edited by dewin
More details
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...