Jump to content

Unity fails to write IVA config file


SilverWolf

Recommended Posts

Good morning folks.  I'm having a frustrating one here.

Unity refuses to write an IVA cfg file upon commanding "Save to Config."  The errors follow.

Quote

Error: Empty part config file
UnityEngine.Debug:LogError(Object)
ConfigNode:PreFormatConfig(String[])
ConfigNode:CreateConfigFromString(String)
KSPPartTools.InternalSpaceInspector:SaveToConfig()
KSPPartTools.InternalSpaceInspector:OnInspectorGUI()
InternalSpaceEditor:OnInspectorGUI() (at Assets/PartTools/Editor/InternalSpaceEditor.cs:18)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Quote

NullReferenceException: Object reference not set to an instance of an object
ConfigNode.RecurseFormat (System.Collections.Generic.List`1 cfg, System.Int32& index, .ConfigNode node)
ConfigNode.RecurseFormat (System.Collections.Generic.List`1 cfg)
ConfigNode.CreateConfigFromString (System.String cfg)
KSPPartTools.InternalSpaceInspector.SaveToConfig ()
KSPPartTools.InternalSpaceInspector.OnInspectorGUI ()
InternalSpaceEditor.OnInspectorGUI () (at Assets/PartTools/Editor/InternalSpaceEditor.cs:18)
UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor[] editors, Int32 editorIndex, Boolean rebuildOptimizedGUIBlock, System.Boolean& showImportedObjectBarNext, UnityEngine.Rect& importedObjectBarRect) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1240)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

 

I have attempted the following resolutions with no remedy:

Clean, unmodified KSP installation.

Re-import of the latest KSP Part Tools in unity.

Starting a config file for Unity.

Deleted all objects and props with exception to the empty game object.

 

Assistance would be greatly appreciated.

Thank You.

Link to comment
Share on other sites

  • 2 weeks later...
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...