Closed ttr closed 9 years ago
ahha.
ok - added some debug strings and recompiled and issue is on my side: i have addons in dropbox, but GameData folder there is named mods, however GetRootPath is using physical path (which is ok), not symlinked one.
[Exception 20:15:16.2634770]: System.TypeInitializationException: An exception was thrown by the type initializer for KSP_AVC.AddonLibrary ---> System.ArgumentOutOfRangeException: Cannot be negative. Parameter name: startIndex at System.String.Remove (Int32 startIndex, Int32 count) [0x00000] in:0
at KSP_AVC.AddonLibrary.GetRootPath () [0x00000] in :0
at KSP_AVC.AddonLibrary..cctor () [0x00000] in :0
--- End of inner exception stack trace ---
at KSP_AVC.Toolbar.ToolbarWindow.Window (Int32 windowId) [0x00000] in :0
this is from AddonLibrary, line 88