X2CommunityCore / xcom2-launcher

The Alternative Mod Launcher (AML) is a replacement for the default game launchers from XCOM 2 and XCOM Chimera Squad.
GNU General Public License v3.0
338 stars 51 forks source link

AML crashes with Proton 9 / Proton_GE 9 #368

Closed caseyjp11 closed 3 months ago

caseyjp11 commented 3 months ago

AML Version: 1.5.0 Description Under Steam versions including Proton 8 and Proton_GE 8.xx The AML application runs normally with the usual crasher after the game is launched from the app. (This is a known behavior under Windows and Proton.)

However, since the release of Proton 9 and GE9, the AML crashes after the initial load, not allowing the game to be launched. This new issue occurs specifically with these proton releases. The application runs as expected on prior Steam proton versions.

(See attached picture.)

The application loads via Proton normally, but as soon as the 'loading mods' progress bar indicator finishes, any mouse move causes the application to crash with the following dialog error: AML version: 1.5.0 Sentry GUID: 2b422847-729c-481e-9ae1-cb940c88f681 Message: A null reference or invalid value was found [GDI+ status: InvalidParameter] Stack: at System.Drawing.GDIPlus.CheckStatus (System.Drawing.Status status) [0x00098] in :0 at System.Drawing.Bitmap.FromHicon (System.IntPtr hicon) [0x00008] in :0 at System.Drawing.Icon..ctor (System.IntPtr handle) [0x00018] in :0 at (wrapper remoting-invoke-with-check) System.Drawing.Icon..ctor(intptr) at System.Drawing.Icon.FromHandle (System.IntPtr handle) [0x00018] in :0 at System.Windows.Forms.Cursor.get_HotSpot () [0x00015] in :0 at System.Windows.Forms.ToolStrip.UpdateToolTip (System.Windows.Forms.ToolStripItem item) [0x0009b] in :0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.ToolStrip.UpdateToolTip(System.Windows.Forms.ToolStripItem) at System.Windows.Forms.ToolStripItem.OnMouseHover (System.EventArgs e) [0x00025] in :0 at System.Windows.Forms.ToolStripItem.HandleMouseHover (System.EventArgs e) [0x00001] in :0 at System.Windows.Forms.ToolStripItem.FireEventInteractive (System.EventArgs e, System.Windows.Forms.ToolStripItemEventType met) [0x00049] in :0 at System.Windows.Forms.ToolStripItem.FireEvent (System.EventArgs e, System.Windows.Forms.ToolStripItemEventType met) [0x00086] in :0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.ToolStripItem.FireEvent(System.EventArgs,System.Windows.Forms.ToolStripItemEventType) at System.Windows.Forms.MouseHoverTimer.OnTick (System.Object sender, System.EventArgs e) [0x0002c] in :0 at System.Windows.Forms.Timer.OnTick (System.EventArgs e) [0x0000a] in :0 at System.Windows.Forms.Timer+TimerNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x0002c] in :0 at System.Windows.Forms.NativeWindow.Callback (System.Windows.Forms.Message& m) [0x00025] in :0

Attachments

RevZero commented 3 months ago

GDI+ is related to the windows graphics subsystem, so the issue its not related to AML, but to the runtime environment. I am moving this to discussions.