For one of my races, every time I attempt to load the Rulebook Entry, this error message appears: Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately. Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: startIndex.
And it only happens to that one specific race. All of my other races' entries load just fine.
Here's the full error message:
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex
at System.String.IndexOf(Char value, Int32 startIndex, Int32 count)
at PathfinderSystem.RacialTrait.GetEntry(Int32 ranks, String[] extraData)
at PathfinderSystem.Race.BuildRaceEntry(HtmlDocument displayDoc, Boolean rulesOnly)
at PathfinderRaceBuilder.RaceBuilderForm.BuildRaceEntry()
at PathfinderRaceBuilder.RaceBuilderForm.tbcMain_Selected(Object sender, TabControlEventArgs e)
at System.Windows.Forms.TabControl.OnSelected(TabControlEventArgs e)
at System.Windows.Forms.TabControl.WmSelChange()
at System.Windows.Forms.TabControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
I can't figure it out. Can anyone help?