[1.06.03] Crash when selecting HQ posture
Posted: Mon Nov 30, 2020 11:58 pm
The game crashed when trying to select a posture for a HQ. I selected the posture (Defense), then selected the Target tab. The crash happened immediately. I believe the display froze before moving to the target tab. The error did not reoccur when I loaded from the latest autosave. However, when the error occurred I had played most of the turn already, including attacking with the unit in question. On the second attempt, I changed the posture before doing anything else. Below is the truncated copied text from the error message; something in the full message is causing the forum to block my post since my account is new. I can provide the full message and the latest autosave.
Code: Select all
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at WindowsApplication1.CustomBitmapClass.DrawUnitBig(Int32 nr, Boolean forcehighlight, Graphics toG, Int32 tx, Int32 ty, Boolean ShowAttacker, Int32 OverruleHis, Int32 OverrulePower, Int32 OverruleRegime, Boolean FullRecon, Boolean mostlyHidden) in G:\VR\VRDevelopment\WindowsApplication1\GUI\GraphicsAndSounds\Se1_CustomBitmapClass.vb:line 5557
at WindowsApplication1.UDSPartClass.DrawElement(Int32 i, Graphics& g, Boolean firstCall, Boolean high) in G:\VR\VRDevelopment\WindowsApplication1\GUI\Subparts\NewSubparts\UDSPartClass.vb:line 995
at WindowsApplication1.UDSPartClass.MakeBitmap() in G:\VR\VRDevelopment\WindowsApplication1\GUI\Subparts\NewSubparts\UDSPartClass.vb:line 714
at WindowsApplication1.UDSPartClass..ctor(GameClass tgame, Int32 twidth, Int32 theight, String tTexty, Bitmap& tbackbitmap, Int32 bbx, Int32 bby, Boolean talwaysBlockScrollBar, Boolean tJustCheckHeight, Boolean tAllGray, Boolean tAlwaysShowBackground, Boolean tNoBackground, Boolean noBitmapDraw) in G:\VR\VRDevelopment\WindowsApplication1\GUI\Subparts\NewSubparts\UDSPartClass.vb:line 120
at WindowsApplication1.TabCardsWindowClass2.dostuff() in G:\VR\VRDevelopment\WindowsApplication1\GUI\Windows\Se1_Windows\Se1_TabCardsWindow2.vb:line 2036
at WindowsApplication1.TabCardsWindowClass2.HandleMouseClick(Int32 x, Int32 y, Int32 b) in G:\VR\VRDevelopment\WindowsApplication1\GUI\Windows\Se1_Windows\Se1_TabCardsWindow2.vb:line 2882
at WindowsApplication1.PlayScreenClass2.HandleMouseClick(Int32 x, Int32 y, Int32 b) in G:\VR\VRDevelopment\WindowsApplication1\GUI\Screens\NewScreens\PlayScreenClass2.vb:line 430
at WindowsApplication1.Form1.Form1_Mousedown(Object sender, MouseEventArgs e) in G:\VR\VRDevelopment\WindowsApplication1\Form1.vb:line 1417
at System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at WindowsApplication1.ImmoveableForm.WndProc(Message& m) in G:\VR\VRDevelopment\WindowsApplication1\ImmoveableForm.vb:line 67
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)