Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

GMLive.gml

Livecoding for GameMaker: Studio / GameMaker Studio 2 · By YellowAfterlife

[GM bug] GMLive crashes runner in the latest beta

A topic by Melius created Nov 06, 2022 Views: 181 Replies: 3
Viewing posts 1 to 4
(1 edit)

Hello,
In the latest GM beta (runtime v2022.1100.0.219) after making some changes in the live code, the runner crashes without any error. Is there any workaround here? (I can't downgrade because I'm already using some of the new beta features).

Thank you for your help.

Developer

I am not seeing this crash in my test project (so at least it’s not unconditional), but you’ll want to complain to YoYo Games and include your project either way - when it’s a silent crash (“runner exited with non-zero status”), it can only be “debugged” by adding show_debug_message calls everywhere to pinpoint the code at fault, and there is no guarantee that you’ll actually find it / be able to do anything about it.

Thanks for the reply, yeah those are the options I wanted to avoid for now, but I guess there's nothing else I can do since it's not a common problem.

Anyway, what's even weirder is that it happens after the second change, so the first one executes correctly with no problem,
but when you change the same thing with a different value, it just silently crashes, really weird.

Developer

Hm, yeah, I’m seeing it after the second change for some code

/windows/x64/Runner.exe exited with non-zero status (-1073741819)

That’s an “access violation” in runner code.

Better yet, the runner crashes after the frame ends (not in a script call), which would usually mean that this is a garbage collector bug, but gc_enable(false) doesn’t seem to help, so I don’t think there’s much opportunity to debug this on my end.