Jump to content

[Solved].20 Part Tools throwing errors


Nicky89107

Recommended Posts

So i loaded up the part tools a couple days ago, and they loaded and i played with the new interface, but today after updating unity, I go through tools-Ksp Part tools, Set the gamedata directory, then it throws this error:

NullReferenceException: Object reference not set to an instance of an object

UrlDir+<get_AllConfigs>d__1b.MoveNext ()

UrlDir+<GetConfigs>d__2a.MoveNext ()

System.Collections.Generic.List`1[urlDir+UrlConfig].AddEnumerable (IEnumerable`1 enumerable) (at /Applications/buildAgent/work/84669f285f6a667f/mcs/class/corlib/System.Collections.Generic/List.cs:128)

System.Collections.Generic.List`1[urlDir+UrlConfig]..ctor (IEnumerable`1 collection) (at /Applications/buildAgent/work/84669f285f6a667f/mcs/class/corlib/System.Collections.Generic/List.cs:65)

KSPPartTools.GameDatabase.GetConfigs (System.String typeName)

KSPPartTools.PartToolsWindow.DrawSpaces ()

KSPPartTools.PartToolsWindow.OnGUI ()

System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Applications/buildAgent/work/84669f285f6a667f/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)

I have no clue why it wont work.

Oh, and it throws the error again everytime i try to close the part tools window

edit:

Seems that romfarer's cfg is causing it to fail to load the gui. Strange...

Edited by Nicky89107
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...