Duck Game

Duck Game

View Stats:
Isis Dec 4, 2024 @ 11:04am
Duck Game Crashes Consistently
I really love this game and have spent so many hours playing it, but lately, crashes have become extremely common. One of my friends even timed my crashes, and I can only last about five minutes per match. I’m not sure what I need to do to fix this. Please help! :(
------------------------------------------------------------------------------------------------
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 525
at DuckGame.MTSpriteBatch.End() in C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\Render\MTSpriteBatch.cs:line 151
at DuckGame.MonoMain.Draw(GameTime gameTime) in C:\gamedev\duckgame_current_steam\duckgame\DuckGame\src\MonoTime\MonoMain.cs:line 2257
Last 8 Lines of Console Output:
@received Activating NMProfileInfo (4->5)((4)Mr Concha,76561198839371058)(5)
@received Activating NMNumCustomLevels (5->6)((4)Mr Concha,76561198839371058)(5)
@received Activating NMOldAngles (6->7)((4)Mr Concha,76561198839371058)(5)
@sent Sent NMSetTeam (332)((1)Whitey Duvall,76561198082931382)(2)
@sent Sent NMSetTeam (323)((2)Eleanore Duvall,76561198140982117)(3)
@sent Sent NMSetTeam (28)((3)MAPACHOSO,76561198947459465)(4)
@received Activating NMNetSoundEvents (9->10)((3)MAPACHOSO,76561198947459465)(4)
@received Activating NMNetSoundEvents (10->11)((3)MAPACHOSO,76561198947459465)(4)

Date: 12/04/2024 18:53:48
Version: 1.1.7717.16376
Platform: Windows 10 (Steam Build 8782838)(SFX)
Online: 1 (H,0.02167561)

Mods: kIHfcNLtRiWfj/MXkacAN1iSymnJXPiINh9YCN8QcRk=
Time Played: 00:05:51 (21230)
Special Code: draw15
Resolution: (A)1920x1080 (G)1920x1080 (Fullscreen(W))(RF 16525)
Level: DuckGame.TeamSelect2
Command Line:
-----------------------------------------------------------------------------------------------
< >
Showing 1-3 of 3 comments
Please someone who can help this guy, his crashes are getting faster and faster
CORPTRON  [developer] Dec 13, 2024 @ 4:18pm 
I'm really sorry, I believe this crash is related to an incompatibility with the XNA framework introduced by newer graphics cards. Out of curiosity do you have a 4000 series Nvidia card? Those are the ones that seem to be causing the issue as far as I've seen.

There's nothing I can do to solve the problem short of phasing out the old XNA dlls and upgrading the engine to run on either FNA or MonoGame, which I plan to do as soon as possible. It's a fairly serious undertaking though and it won't be happening until after December. In the meantime as a work around you could try running DG Rebuilt which is already running on FNA: https://steamcommunity.com/workshop/filedetails/?id=3132351890 I understand if you're not comfortable using a mod to get the game working again, and I'm sorry that it's the only suggestion I can give right now. I'll be updating the game early next year.

Please let me know if it makes a difference, again I'm sorry you're running into these crashes I know it sucks to be constantly dumped out in the middle of a match.
Last edited by CORPTRON; Dec 13, 2024 @ 4:22pm
ThatHaku_ Dec 27, 2024 @ 9:35pm 
i have a laptop rtx 4050 and even with that mod from the workshop my game crashes every 15 or 20 mins idk
< >
Showing 1-3 of 3 comments
Per page: 1530 50