YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
26 stars 8 forks source link

Stability: [Win IDE] GM crash with "Attempting to add too much data to VertexBuffer" GPU error in ui.log after running a game #8091

Open gm-bug-reporter[bot] opened 1 month ago

gm-bug-reporter[bot] commented 1 month ago

Description

eu estava trabalhando no meu jogo quando percebi que enquanto tstava o projeto o game maker ficou com a tela preta, logo em seguida fechou inespedamente, espero não ter perdido meu projeto

"I was working on my game when I realized that while I was testing the project, Game Maker went to a black screen, then closed unexpectedly. I hope I haven't lost my project."

The older ui.log shows the game is run:

[20:59:10:716(8a5e)] starting C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2024.8.1.218/bin/igor/windows/x64/Igor.exe -j=8 -options="C:\Users\Guilherme\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Windows Run

and then the graphics card appears to run out of memory

[20:59:15:440(8a5e)] GUIBase::Draw - YoYoStudio.GUI.Gadgets.ScrollPanel window title: Inspector: inst_5D0E4E55 workspace tab: Inspector parents: LabeledInspectorPanel InternalStackPanel StackPanel
exception: Attempting to add too much data to VertexBuffer
[20:59:15:563(8a5e)]    at YoYoStudio.Graphics.VertexBuffer.Update(VertexData _srcdata)
   at YoYoStudio.Graphics.VertexManager.Flush()
   at YoYoStudio.Graphics.Scene.PopClipRect(Int32 _count)
   at YoYoStudio.GUI.GUIBase.Draw(TimeSpan _deltaTime, RenderEvent _renderEvent, Boolean _performViewCheck)

Steps To Reproduce

eu apenas testei o meu projeto, eu não ultilizei nada de diferente dos codigos que eu ja estava acostumado a usar

"I just tested my project, I didn't use anything different from the codes I was already used to using."

Which version of GameMaker are you reporting this issue for?

IDE v2024.8.1.171 Runtime v2024.8.1.218

Which operating system(s) are you seeing the problem on?

Windows 10.0.19045.0

a8031d5f-024e-4e4a-bbd7-cebd297e9ebe

stuckie commented 1 month ago

This is odd as the ui.log claims it to be adding too much to the VertexManager; as has been edited above. While the crash dump makes it related to #7966 as it's fallen over in the .NET Garbage Collector.