Jump to content

(another) null reference exception, in editor, related to struts.


Recommended Posts

KSP .log file

When in VAB, when placing/deleting/moving struts or fuel lines, the game throws a stream of null reference exceptions.

These disable the function of all buttons, except for the click effect on the launch,save,open,leave buttons and the debug menu. The game does not crash, and I repeated the glitch twice in a row.

[EXC 12:58:24.368] ArgumentException: An element with the same key already exists in the dictionary.
System.Collections.Generic.Dictionary`2[System.UInt32,PartCrewManifest].Add (UInt32 key, .PartCrewManifest value)
VesselCrewManifest.FromConfigNode (.ConfigNode craftNode)
KerbalRoster.UpdateCrewForVessel (.ConfigNode vesselNode, .VesselCrewManifest previous, System.Func`2 persistFilter)
EditorLogic.RefreshCrewAssignment (.ConfigNode craftNode, System.Func`2 persistFilter)
EditorLogic.DestroySelectedPart ()
EditorLogic.deleteInputUpdate ()
KerbalFSM.UpdateFSM ()
EditorLogic.Update ()

this seems to be the mean problem and appears to cause a stream of related errors which are to one another :

[EXC 12:58:24.402] NullReferenceException
UnityEngine.Component.get_transform ()
EditorLogic.<SetupFSM>m__9A ()
KerbalFSM.UpdateFSM ()
EditorLogic.Update ()

Looks like something is being loaded twice and the editor doesnt know which to pick ?

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