Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Ah, it would appear that I forgot to add a check for whether the data file that saves the project's global volume variables exists or not. That's embarrassing. After some further investigation, it would appear that it is only that project having the issue now, which is weird as I could have sworn the day before posting this that every project I tried to implement GMLive into was having stack overflow issues... I suppose I should work on refining the code within' the initial project, where the error is still persisting, as that project does utilize the Hotline Miami source code as a base, which, along with my own limited knowledge of GameMaker and coding in general added too it, is not exactly the most optimized. Thank you for your time, and do you know if it's possible to allocate more memory or possibly increase the amount of memory that is available within' GMLive's call stack? If I could do that and have this issue handled it would be a much faster alternative to sifting through the entire project and optimizing everything lol... Not that I'm opposed to that, but I would like to be able to use GMLive on the project ASAP.

A quick test suggests that max call depth in GM:S is measured in thousands of calls, so I don’t think this is an “optimization problem” of any sort.

If the game hangs before it crashes, you can try running it in debug mode and pausing it when it hangs to see where exactly it is getting stuck.

Hello, thank you for the reply! After messing around with the extension a bit more today I discovered that using GMLiveHelper along with netlog has thankfully completely mitigated the issue! I was using both before accompanied by GMLive but failed to realize that the following line in the create event of obj_gmlive was commented out:

if (live_restart_if_necessary()) exit; // comment out if not using GMLiveHelper

Simply uncommenting this line along with the use of both extensions has since stopped the "stack overflow" error from appearing! Very simple fix that probably definitely didn't warrant this much time or even a post about it lol. Although hopefully this post will at least help anyone else who is experiencing the same or similar issue. I appreciate your help, and by the way the extension, now that I'm able to actually use it, is really great! Already saved me god knows how much time lmao... Thanks again!

I can’t see why that would have fixed it (live_restart_if_necessary is just relaunching the game to detach it from IDE), but that’s good