Duck Game Crashes
I am hoping that someone here might be able to steer me in the right direction. I have posted in the game’s forum, but I am not receiving any support there. I have a new laptop running Windows 11. We are getting frequent game crashes while playing Duck Game. I am wondering if it is a compatibility issue as the game is older. Any help would be GREATLY appreciated. Here is our most recent crash report:
System.InvalidOperationException: An unexpected error has occurred.
at Microsoft.Xna.Framework.Graphics.GraphicsDevice.DrawUserIndexedPrimitives[T](PrimitiveType primitiveType, T[] vertexData, Int32 vertexOffset, Int32 numVertices, Array indexData, Int32 indexOffset, Int32 primitiveCount, VertexDeclaration vertexDeclaration, _D3DFORMAT indexFormat)
at DuckGame.MTSpriteBatcher.FlushVertexArray(Int32 start, Int32 end) in C:gamedevduckgame_current_steamduckgameDuckGamesrcMonoTimeRenderSpriteBatcher.cs:line 709
at DuckGame.MTSpriteBatcher.DrawBatch(SpriteSortMode sortMode) in C:gamedevduckgame_current_steamduckgameDuckGamesrcMonoTimeRenderSpriteBatcher.cs:line 485
at DuckGame.MTSpriteBatch.End() in C:gamedevduckgame_current_steamduckgameDuckGamesrcMonoTimeRenderMTSpriteBatch.cs:line 151
at DuckGame.Layer.End(Boolean transparent, Boolean isTargetDraw) in C:gamedevduckgame_current_steamduckgameDuckGamesrcMonoTimeLayer.cs:line 897
at DuckGame.Layer.Draw(Boolean transparent, Boolean isTargetDraw) in C:gamedevduckgame_current_steamduckgameDuckGamesrcMonoTimeLayer.cs:line 1154
at DuckGame.LayerCore.DrawLayers() in C:gamedevduckgame_current_steamduckgameDuckGamesrcMonoTimeLayer.cs:line 381
at DuckGame.Level.DoDraw() in C:gamedevduckgame_current_steamduckgameDuckGamesrcMonoTimeLevel.cs:line 1081
at DuckGame.Level.DrawCurrentLevel() in C:gamedevduckgame_current_steamduckgameDuckGamesrcMonoTimeLevel.cs:line 198
at DuckGame.MonoMain.RunDraw(GameTime gameTime) in C:gamedevduckgame_current_steamduckgameDuckGamesrcMonoTimeMonoMain.cs:line 2524
at DuckGame.MonoMain.Draw(GameTime gameTime) in C:gamedevduckgame_current_steamduckgameDuckGamesrcMonoTimeMonoMain.cs:line 2246
Last 8 Lines of Console Output:
Creating ghost (1442)
@received Activating NMItemSpawned (2044->2045)((0)(H)LawMac,76561198093753884)(16)
@received Activating NMFireGun (2045->2046)((0)(H)LawMac,76561198093753884)(16)
@sent Sent NMKillDuck (421)((0)(H)LawMac,76561198093753884)(16)
Creating ghost (1443)
@received Activating NMItemSpawned (2046->2047)((0)(H)LawMac,76561198093753884)(16)
Creating ghost (8879)
Creating ghost (8880)
Date: 04/19/2024 03:58:56
Version: 1.1.7717.16376
Platform: Windows 10 (Steam Build 8782838)(SFX)
Online: 1 (C,0.01582697)
Mods: nomods
Time Played: 00:39:02 (140607)
Special Code: men20
Resolution: (A)1920×1080 (G)1920×1080 (Fullscreen(W))(RF 140420)
Level: Content/levels/deathmatch/office01_8.lev
Command Line:
I am hoping that someone here might be able to steer me in the right direction. I have posted in the game’s forum, but I am not receiving any support there. I have a new laptop running Windows 11. We are getting frequent game crashes while playing Duck Game. I am wondering if it is a compatibility issue as the game is older. Any help would be GREATLY appreciated. Here is our most recent crash report: System.InvalidOperationException: An unexpected error has occurred.at Microsoft.Xna.Framework.Graphics.GraphicsDevice.DrawUserIndexedPrimitives[T](PrimitiveType primitiveType, T[] vertexData, Int32 vertexOffset, Int32 numVertices, Array indexData, Int32 indexOffset, Int32 primitiveCount, VertexDeclaration vertexDeclaration, _D3DFORMAT indexFormat)at DuckGame.MTSpriteBatcher.FlushVertexArray(Int32 start, Int32 end) in C:gamedevduckgame_current_steamduckgameDuckGamesrcMonoTimeRenderSpriteBatcher.cs:line 709at DuckGame.MTSpriteBatcher.DrawBatch(SpriteSortMode sortMode) in C:gamedevduckgame_current_steamduckgameDuckGamesrcMonoTimeRenderSpriteBatcher.cs:line 485at DuckGame.MTSpriteBatch.End() in C:gamedevduckgame_current_steamduckgameDuckGamesrcMonoTimeRenderMTSpriteBatch.cs:line 151at DuckGame.Layer.End(Boolean transparent, Boolean isTargetDraw) in C:gamedevduckgame_current_steamduckgameDuckGamesrcMonoTimeLayer.cs:line 897at DuckGame.Layer.Draw(Boolean transparent, Boolean isTargetDraw) in C:gamedevduckgame_current_steamduckgameDuckGamesrcMonoTimeLayer.cs:line 1154at DuckGame.LayerCore.DrawLayers() in C:gamedevduckgame_current_steamduckgameDuckGamesrcMonoTimeLayer.cs:line 381at DuckGame.Level.DoDraw() in C:gamedevduckgame_current_steamduckgameDuckGamesrcMonoTimeLevel.cs:line 1081at DuckGame.Level.DrawCurrentLevel() in C:gamedevduckgame_current_steamduckgameDuckGamesrcMonoTimeLevel.cs:line 198at DuckGame.MonoMain.RunDraw(GameTime gameTime) in C:gamedevduckgame_current_steamduckgameDuckGamesrcMonoTimeMonoMain.cs:line 2524at DuckGame.MonoMain.Draw(GameTime gameTime) in C:gamedevduckgame_current_steamduckgameDuckGamesrcMonoTimeMonoMain.cs:line 2246Last 8 Lines of Console Output:Creating ghost (1442)@received Activating NMItemSpawned (2044->2045)((0)(H)LawMac,76561198093753884)(16)@received Activating NMFireGun (2045->2046)((0)(H)LawMac,76561198093753884)(16)@sent Sent NMKillDuck (421)((0)(H)LawMac,76561198093753884)(16)Creating ghost (1443)@received Activating NMItemSpawned (2046->2047)((0)(H)LawMac,76561198093753884)(16)Creating ghost (8879)Creating ghost (8880)Date: 04/19/2024 03:58:56Version: 1.1.7717.16376Platform: Windows 10 (Steam Build 8782838)(SFX)Online: 1 (C,0.01582697)Mods: nomodsTime Played: 00:39:02 (140607)Special Code: men20Resolution: (A)1920×1080 (G)1920×1080 (Fullscreen(W))(RF 140420)Level: Content/levels/deathmatch/office01_8.levCommand Line: Read More