Duck Game

Duck Game

View Stats:
copium 26 Jul, 2023 @ 7:58pm
The game starts and after a few seconds it crashes constantly
When I first downloaded the game I had no problems running it however with time my game started to crash however it was rare, as time went on these crashes became more and more frequent and now it has gotten to the point where I can start the game but after a around 30 seconds it crashes. I have tried every possible fix that I have found on this forum however none of them seem to work, I have also seen a ton of other people with the same problem however no one has helped them and I don't know what to do anymore. My computer is running windows 11

help would be appreciated :) in case you want to contact me by any other means you can message me on discord, my tag is borger_

This is the message that pops up when my game crashes:

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_Patch1(Level this)
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:
Initializing level (255)
SetDefaultMapping() Found existing map for (KEYBOARD P1)...
SetDefaultMapping() Found existing map for (KEYBOARD P2)...
Input.Save()...
Clear
Level Switch (TitleScreen -> TeamSelect2)
ResetMatchStuff()
Initializing level (255)

Date: 07/27/2023 02:48:46
Version: 1.1.7717.16376
Platform: Windows 10 (Steam Build 8782838)(SFX)
Online: 0
Mods: IV3WTqn2GjOepEyUvzDPvQ6Toie7XIlX1Hzq+IIiF/8=
Time Played: 00:00:57 (3063)
Special Code: finished TMGmod.X3X, TMGmod, Version=1.2.0.1, Culture=neutral, PublicKeyToken=null
Resolution: (A)1920x1080 (G)1280x720 (Fullscreen(H))(RF 2829)
Level: DuckGame.TeamSelect2
Command Line: -debug -nofullscreen