YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
26 stars 8 forks source link

Stability: GM crash due to "FNA-Error: Could not resize swapchain!" during regular usage #5907

Open gm-bug-reporter[bot] opened 6 months ago

gm-bug-reporter[bot] commented 6 months ago

Description

gamemaker was crash 2 times

Which version of GameMaker are you reporting this issue for?

IDE v2024.4.0.137 Runtime v2024.4.0.168

Which operating system(s) are you seeing the problem on?

Windows 10.0.22631.0

327656a4-0165-4098-a605-85b90cc3f231

YYDan commented 6 months ago

Looks like a graphics card driver issues, as you do indeed have 2 crashes of GameMaker due to the same issue:

[13:32:12:333(21c1)] FNA-Error: Could not resize swapchain! Error Code: A opera??o foi conclu?da com ?xito. (0x00000000)
[13:32:12:360(21c1)] Exception in YoYoStudio.GUI.WindowManager+<>c__DisplayClass94_0,Void <AddDesktopEmpty>b__0(Core.CoreOS.Graphics.WindowState) :    System.InvalidOperationException: Could not resize swapchain! Error Code: A opera??o foi conclu?da com ?xito. (0x00000000)
   at Core.CoreOS.System.SystemPlatformSDL2.FNA3DLogError(IntPtr msg) in D:\a\YoYoStudio\YoYoStudio\YoYoStudio\IDE\OSCore\System\SystemPlatformSDL2.cs:line 847
   at FNA3D.FNA3D.FNA3D_ResetBackbuffer(IntPtr device, FNA3D_PresentationParameters& presentationParameters)
   at Core.CoreOS.Graphics.Renderer.ResizeBackBuffer(WindowDetails _details, Int32 _width, Int32 _height) in D:\a\YoYoStudio\YoYoStudio\YoYoStudio\IDE\OSCore\Graphics\Renderer.cs:line 311
   at YoYoStudio.Graphics.Desktop.BeginFrame() in D:\a\YoYoStudio\YoYoStudio\YoYoStudio\IDE\Core\Graphics\Desktop.cs:line 856
   at YoYoStudio.IDE.DisplayDesktop(Int32 d)
   at WeakDelegate(Object , Object[] )
   at YoYoStudio.Core.Utils.WeakDelegate`1.Invoke(Object[] _args) in D:\a\YoYoStudio\YoYoStudio\YoYoStudio\IDE\Core\Utils\WeakDelegate.cs:line 184
[13:32:12:366(21c1)] FNA-Error: Could not resize swapchain! Error Code: A opera??o foi conclu?da com ?xito. (0x00000000)
[13:32:12:366(21c1)] --------------------------------------------------------------------------------
[13:32:12:366(21c1)] IDE Exception: System.InvalidOperationException: Could not resize swapchain! Error Code: A opera??o foi conclu?da com ?xito. (0x00000000)
   at Core.CoreOS.System.SystemPlatformSDL2.FNA3DLogError(IntPtr msg) in D:\a\YoYoStudio\YoYoStudio\YoYoStudio\IDE\OSCore\System\SystemPlatformSDL2.cs:line 847
   at FNA3D.FNA3D.FNA3D_ResetBackbuffer(IntPtr device, FNA3D_PresentationParameters& presentationParameters)
   at Core.CoreOS.Graphics.Renderer.ResizeBackBuffer(WindowDetails _details, Int32 _width, Int32 _height) in D:\a\YoYoStudio\YoYoStudio\YoYoStudio\IDE\OSCore\Graphics\Renderer.cs:line 311
   at YoYoStudio.Graphics.Desktop.BeginFrame() in D:\a\YoYoStudio\YoYoStudio\YoYoStudio\IDE\Core\Graphics\Desktop.cs:line 856
   at YoYoStudio.IDE.DisplayDesktop(Int32 d)
   at YoYoStudio.IDE.Run()
   at YoYoStudio.IDE.Execute(String[] _args, Int32 _initialWidth, Int32 _initialHeight)
[13:32:12:367(21c1)] --------------------------------------------------------------------------------

We'll check the crash information in more detail and see if this can be prevented or handled more gracefully.