[v1.12j] Crash when Clicking a Major AI Regime Unit Detail Tab On Inspect

Moderator: Vic

Post Reply
Overlord015
Posts: 55
Joined: Tue Jan 20, 2015 8:08 pm

[v1.12j] Crash when Clicking a Major AI Regime Unit Detail Tab On Inspect

Post by Overlord015 »

Not all major ai regime units consistently cause the crash when being inspected. If I have a different tab selected when inspecting the tile they're on, the game does not crash. It only then crashes if I try click the unit detail tab. Some units can be inspected without issue, recon level on tile seems to be a factor. I speculate though, as I've had instances where going on to the next turn I can select and inspect it or other units without issue. Although if I reload a save from the turn where it did lead to a crash, it will consistently do so. If I ignore the issue I can continue games, even initiate and finish combat with the "bugged" units without issue on the turns they can cause a crash. It will only crash if I initiate combat but then try to abort by pressing cancel. Pressing continue on the message window simply freezes the game indefinitely.

Current modded playthrough save is attached, mods used are Pymod-Unit Rebalance, VAdjust, Pymous Strategem cards, and Terrain Mod - mroyer v3.2 + DasTactic Icon Overlays. See the zip file for the save, attempt to inspect the armored unit in tile coordinate 156,18 in order to reproduce.

Nonetheless, I have been able to consistently reproduce the crash on previous unmodded saves both on the current main release version, the previous open beta version, and the current open beta. I have also tried fresh reinstalls of the game, modded, and unmodded. I can still reproduce the crash. I can set up the aforementioned other scenarios and provide saves if needed.

Log:

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.PlayExtraWindowClass2.UnitBottomTab(Graphics g, Rectangle useRect) in G:\VR\VRDevelopment\WindowsApplication1\GUI\Windows\Se1_Windows\Se1_PlayExtraWindowClass2.vb:line 3407
at WindowsApplication1.PlayExtraWindowClass2.dostuff() in G:\VR\VRDevelopment\WindowsApplication1\GUI\Windows\Se1_Windows\Se1_PlayExtraWindowClass2.vb:line 182
at WindowsApplication1.PlayScreenClass2.HandleWR(WindowReturnClass wr, Boolean setflag, ScreenReturnClass& obj) in G:\VR\VRDevelopment\WindowsApplication1\GUI\Screens\NewScreens\PlayScreenClass2.vb:line 246
at WindowsApplication1.PlayScreenClass2.HandleMouseClick(Int32 x, Int32 y, Int32 b) in G:\VR\VRDevelopment\WindowsApplication1\GUI\Screens\NewScreens\PlayScreenClass2.vb:line 508
at WindowsApplication1.Form1.Form1_Mousedown(Object sender, MouseEventArgs e) in G:\VR\VRDevelopment\WindowsApplication1\Form1.vb:line 1716
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 68
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4515.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
WindowsApplication1
Assembly Version: 1.0.8376.30341
Win32 Version: 1.0.8376.30341
CodeBase: file:///C:/Users/17879/Games/Steam/steamapps/common/Shadow%20Empire/ShadowEmpire.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 14.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4536.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4590.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4550.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
irrKlang.NET4
Assembly Version: 1.0.6617.18847
Win32 Version:
CodeBase: file:///C:/Users/17879/Games/Steam/steamapps/common/Shadow%20Empire/irrKlang.NET4.DLL
----------------------------------------
SharpDX.Mathematics
Assembly Version: 4.2.0.0
Win32 Version: 4.2.0
CodeBase: file:///C:/Users/17879/Games/Steam/steamapps/common/Shadow%20Empire/SharpDX.Mathematics.DLL
----------------------------------------
ICSharpCode.SharpZipLib
Assembly Version: 0.84.0.0
Win32 Version: 0.84.0.0
CodeBase: file:///C:/Users/17879/Games/Steam/steamapps/common/Shadow%20Empire/ICSharpCode.SharpZipLib.DLL
----------------------------------------
SharpDX.Direct2D1
Assembly Version: 4.2.0.0
Win32 Version: 4.2.0
CodeBase: file:///C:/Users/17879/Games/Steam/steamapps/common/Shadow%20Empire/SharpDX.Direct2D1.DLL
----------------------------------------
SharpDX
Assembly Version: 4.2.0.0
Win32 Version: 4.2.0
CodeBase: file:///C:/Users/17879/Games/Steam/steamapps/common/Shadow%20Empire/SharpDX.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Attachments
A.7z
Modded Save v1.12j
(3.51 MiB) Downloaded 5 times
User avatar
Vic
Posts: 9621
Joined: Mon May 17, 2004 2:17 pm
Contact:

Re: [v1.12j] Crash when Clicking a Major AI Regime Unit Detail Tab On Inspect

Post by Vic »

I am quite sure its due to the mods having somehow removed the Posture Stratagems, but the AI is still using them.

Will not crash anymore next version

best,
Vic
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
Post Reply

Return to “Tech Support”