Duck Game

Duck Game

View Stats:
DA_SBCC 14 Jul, 2023 @ 12:11pm
Dock game crashes everytime I play
Every time I start playing, like 10 to 15 minutes later my game crashes. I reinstalled it and it keeps happening. Idk what is causing this. I play with controlley by bluetooth by I dont thing this is the problem. My crash report says this:

Crash Source:
Mods apparently were not responsible for this crash.

System.InvalidOperationException: An unexpected error has occurred.
en 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)
en DuckGame.MTSpriteBatcher.FlushVertexArray(Int32 start, Int32 end) en C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\Render\SpriteBatcher.cs:línea 709
en DuckGame.MTSpriteBatcher.DrawBatch(SpriteSortMode sortMode) en C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\Render\SpriteBatcher.cs:línea 485
en DuckGame.MTSpriteBatch.End() en C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\Render\MTSpriteBatch.cs:línea 151
en DuckGame.Layer.End(Boolean transparent, Boolean isTargetDraw) en C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\Layer.cs:línea 897
en DuckGame.Layer.Draw(Boolean transparent, Boolean isTargetDraw) en C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\Layer.cs:línea 1154
en DuckGame.LayerCore.DrawTargetLayers() en C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\Layer.cs:línea 332
en DuckGame.Level.DoDraw() en C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\Level.cs:línea 1027
en DuckGame.Level.DrawCurrentLevel() en C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\Level.cs:línea 198
en DuckGame.MonoMain.RunDraw(GameTime gameTime) en C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\MonoMain.cs:línea 2524
en DuckGame.MonoMain.Draw(GameTime gameTime) en C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\MonoMain.cs:línea 2246
Last 8 Lines of Console Output:
@sent Sent NMItemSpawned (1008)((1)Bypipe89,76561199087540522)(2)
@sent Sent NMItemSpawned (951)((2)Papi_Capy,76561199290534174)(3)
Creating ghost (1583)
@sent Sent NMItemSpawned (1009)((1)Bypipe89,76561199087540522)(2)
@sent Sent NMItemSpawned (952)((2)Papi_Capy,76561199290534174)(3)
Creating ghost (1584)
@sent Sent NMItemSpawned (1010)((1)Bypipe89,76561199087540522)(2)
@sent Sent NMItemSpawned (953)((2)Papi_Capy,76561199290534174)(3)

Date: 07/14/2023 19:07:35
Version: 1.1.7717.16376
Platform: Windows 10 (Steam Build 8782838)(SFX)
Online: 1 (H,0.01136973)

Mods: nomods
Time Played: 00:12:30 (45602)
Special Code: C:/Program Files (x86)/Steam/steamapps/workshop/content/312530/494821042/18.1.lev
Resolution: (A)1920x1200 (G)1920x1200 (Fullscreen(W))(RF 45488)
Level: C:/Program Files (x86)/Steam/steamapps/workshop/content/312530/2647421417/なにこれは.lev
Command Line:
< >
Showing 1-11 of 11 comments
DA_SBCC 14 Jul, 2023 @ 12:34pm 
Crashed again :/


Crash Source:
Mods apparently were not responsible for this crash.

System.InvalidOperationException: An unexpected error has occurred.
en 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)
en DuckGame.MTSpriteBatcher.FlushVertexArray(Int32 start, Int32 end) en C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\Render\SpriteBatcher.cs:línea 709
en DuckGame.MTSpriteBatcher.DrawBatch(SpriteSortMode sortMode) en C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\Render\SpriteBatcher.cs:línea 525
en DuckGame.MTSpriteBatch.End() en C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\Render\MTSpriteBatch.cs:línea 151
en DuckGame.Layer.End(Boolean transparent, Boolean isTargetDraw) en C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\Layer.cs:línea 897
en DuckGame.Layer.Draw(Boolean transparent, Boolean isTargetDraw) en C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\Layer.cs:línea 1154
en DuckGame.LayerCore.DrawLayers() en C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\Layer.cs:línea 381
en DuckGame.Level.DoDraw() en C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\Level.cs:línea 1081
en DuckGame.Level.DrawCurrentLevel() en C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\Level.cs:línea 198
en DuckGame.MonoMain.RunDraw(GameTime gameTime) en C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\MonoMain.cs:línea 2524
en DuckGame.MonoMain.Draw(GameTime gameTime) en C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\MonoMain.cs:línea 2246
Last 8 Lines of Console Output:
@sent Sent NMNetSoundEvents (3314)((1)Bypipe89,76561199087540522)(2)
@sent Sent NMNetSoundEvents (3306)((2)Papi_Capy,76561199290534174)(3)
@sent Sent NMSoundEffect (3315)((1)Bypipe89,76561199087540522)(2)
@sent Sent NMSoundEffect (3307)((2)Papi_Capy,76561199290534174)(3)
Creating ghost (5322)
@received Activating NMNetSoundEvents (342->343)((2)Papi_Capy,76561199290534174)(3)
@sent Sent NMNetSoundEvents (3316)((1)Bypipe89,76561199087540522)(2)
@sent Sent NMNetSoundEvents (3308)((2)Papi_Capy,76561199290534174)(3)

Date: 07/14/2023 19:33:47
Version: 1.1.7717.16376
Platform: Windows 10 (Steam Build 8782838)(SFX)
Online: 1 (H,0.007470311)

Mods: nomods
Time Played: 00:21:02 (76876)
Special Code: C:/Program Files (x86)/Steam/steamapps/workshop/content/312530/501466154/Towersstuff.lev
Resolution: (A)1920x1200 (G)1920x1200 (Fullscreen(W))(RF 15098)
Level: C:/Program Files (x86)/Steam/steamapps/workshop/content/312530/807687849/8p_industrial.lev
Command Line:
bs_xlab 3 Aug, 2023 @ 4:19am 
Same thing :( Seems nobody knows a solution
Magpie 13 Oct, 2023 @ 10:22pm 
I have the same issue, do you happen to have a new computer?
Magpie 13 Oct, 2023 @ 10:23pm 
Originally posted by Magpie:
I have the same issue, do you happen to have a new computer?

The reason I ask is I got a new laptop and it is not working.
DA_SBCC 18 Oct, 2023 @ 11:42pm 
Was new in that time yep. I haven’t tried to play since then
Magpie 20 Oct, 2023 @ 5:55pm 
Originally posted by DA_SBCC:
Was new in that time yep. I haven’t tried to play since then

I am trying to figure out if it has to do with the compatibility of graphics cards. What is your specs?
Magpie 20 Oct, 2023 @ 5:56pm 
Originally posted by Magpie:
Originally posted by DA_SBCC:
Was new in that time yep. I haven’t tried to play since then

I am trying to figure out if it has to do with the compatibility of graphics cards. What is your specs?

All my friends recently got into it and I am the only one with the crashes. Which is so annoying, so I really want to figure this out.
Magpie 20 Oct, 2023 @ 7:47pm 
Okay so this is happening on multiplayer only
Tomer Trashman 5 Nov, 2023 @ 11:54am 
me too
Magpie 17 Nov, 2023 @ 3:53pm 
Originally posted by Tomer Trashman:
me too
I am still lost on a solution, but it seems like a lot of people have the same problem
DA_SBCC 21 Nov, 2023 @ 10:30am 
Originally posted by Magpie:
Originally posted by Tomer Trashman:
me too
I am still lost on a solution, but it seems like a lot of people have the same problem


Originally posted by Magpie:
Originally posted by Magpie:

I am trying to figure out if it has to do with the compatibility of graphics cards. What is your specs?

All my friends recently got into it and I am the only one with the crashes. Which is so annoying, so I really want to figure this out.


I have a Rog Strix g16 with I9-13980HX, NVIDIA RTX 4070 and 16gb RAM DDR5 4800MHz

Haven't tried the game since the post. I lost interest on playing because same as you I was the only one crashing. I checked for file corruption and steam fixed me a file but didn't tried to see if it fixed my problems. You could try that
< >
Showing 1-11 of 11 comments
Per page: 1530 50