Duck Game

Duck Game

View Stats:
alvinjacob12 23 Jul, 2024 @ 7:14pm
games keeps crashing
hi i just got the game and it keeps crashing after about 20 to 30 minutes of play time
this is the crash txt i get im not running any mods or anything
Crash Source:
Mods apparently were not responsible for this crash.

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:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\Render\SpriteBatcher.cs:line 709
at DuckGame.MTSpriteBatcher.DrawBatch(SpriteSortMode sortMode) in C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\Render\SpriteBatcher.cs:line 485
at DuckGame.MTSpriteBatch.End() in C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\Render\MTSpriteBatch.cs:line 151
at DuckGame.Layer.End(Boolean transparent, Boolean isTargetDraw) in C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\Layer.cs:line 897
at DuckGame.Layer.Draw(Boolean transparent, Boolean isTargetDraw) in C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\Layer.cs:line 1154
at DuckGame.LayerCore.DrawLayers() in C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\Layer.cs:line 381
at DuckGame.Level.DoDraw() in C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\Level.cs:line 1081
at DuckGame.Level.DrawCurrentLevel() in C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\Level.cs:line 198
at DuckGame.MonoMain.RunDraw(GameTime gameTime) in C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\MonoMain.cs:line 2524
at DuckGame.MonoMain.Draw(GameTime gameTime) in C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\MonoMain.cs:line 2246
Last 8 Lines of Console Output:
@received Activating NMItemSpawned (294->295)((0)(H)InfamousAPD,76561198150048681)(6)
@received Activating NMNetSoundEvents (295->296)((0)(H)InfamousAPD,76561198150048681)(6)
Creating ghost (341)
@sent Sent NMNetSoundEvents (103)((0)(H)InfamousAPD,76561198150048681)(6)
Creating ghost (2826)
@received Activating NMDisarm (296->297)((0)(H)InfamousAPD,76561198150048681)(6)
@sent Sent NMNetSoundEvents (104)((0)(H)InfamousAPD,76561198150048681)(6)
Creating ghost (2827)

Date: 07/24/2024 02:12:15
Version: 1.1.7717.16376
Platform: Windows 10 (Steam Build 8782838)(SFX)
Online: 1 (C,0.02143986)

Mods: nomods
Time Played: 00:28:09 (101443)
Special Code: Invited Friend (76561199443360233)
Resolution: (A)3840x2160 (G)2880x1620 (Windowed)(RF 22110)
Level: Content/levels/deathmatch/level8.lev
Command Line:
< >
Showing 1-2 of 2 comments
alvinjacob12 24 Jul, 2024 @ 9:45am 
i tried redownloadingthe game, xna framework and running the game lower than 4k none of which worked
Lil Clap Trap 26 Aug, 2024 @ 4:43pm 
Originally posted by alvinjacob12:
hi i just got the game and it keeps crashing after about 20 to 30 minutes of play time
this is the crash txt i get im not running any mods or anything
Crash Source:
Mods apparently were not responsible for this crash.

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:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\Render\SpriteBatcher.cs:line 709
at DuckGame.MTSpriteBatcher.DrawBatch(SpriteSortMode sortMode) in C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\Render\SpriteBatcher.cs:line 485
at DuckGame.MTSpriteBatch.End() in C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\Render\MTSpriteBatch.cs:line 151
at DuckGame.Layer.End(Boolean transparent, Boolean isTargetDraw) in C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\Layer.cs:line 897
at DuckGame.Layer.Draw(Boolean transparent, Boolean isTargetDraw) in C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\Layer.cs:line 1154
at DuckGame.LayerCore.DrawLayers() in C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\Layer.cs:line 381
at DuckGame.Level.DoDraw() in C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\Level.cs:line 1081
at DuckGame.Level.DrawCurrentLevel() in C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\Level.cs:line 198
at DuckGame.MonoMain.RunDraw(GameTime gameTime) in C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\MonoMain.cs:line 2524
at DuckGame.MonoMain.Draw(GameTime gameTime) in C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\MonoMain.cs:line 2246
Last 8 Lines of Console Output:
@received Activating NMItemSpawned (294->295)((0)(H)InfamousAPD,76561198150048681)(6)
@received Activating NMNetSoundEvents (295->296)((0)(H)InfamousAPD,76561198150048681)(6)
Creating ghost (341)
@sent Sent NMNetSoundEvents (103)((0)(H)InfamousAPD,76561198150048681)(6)
Creating ghost (2826)
@received Activating NMDisarm (296->297)((0)(H)InfamousAPD,76561198150048681)(6)
@sent Sent NMNetSoundEvents (104)((0)(H)InfamousAPD,76561198150048681)(6)
Creating ghost (2827)

Date: 07/24/2024 02:12:15
Version: 1.1.7717.16376
Platform: Windows 10 (Steam Build 8782838)(SFX)
Online: 1 (C,0.02143986)

Mods: nomods
Time Played: 00:28:09 (101443)
Special Code: Invited Friend (76561199443360233)
Resolution: (A)3840x2160 (G)2880x1620 (Windowed)(RF 22110)
Level: Content/levels/deathmatch/level8.lev
Command Line:


Originally posted by alvinjacob12:
i tried redownloadingthe game, xna framework and running the game lower than 4k none of which worked
I had the same problem try downloading duck game rebuilt from the workshop it solved the problem for me by now
Last edited by Lil Clap Trap; 26 Aug, 2024 @ 4:49pm
< >
Showing 1-2 of 2 comments
Per page: 1530 50