Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Gmlive used to be quite fast until the update to 2.3 . Now it is very slow, even a few calls  if (live_call()) return live_result;   brings a massive drop in fps.  I don't know why it happens, I don't even use structs nor new gml features :( 

You can try GMLiveForGMS2.3-experimental.yymps - it ditches structs in favor of 2.2.5 style arrays, though it’s ultimately hard to profile performance now due to garbage collector.

(1 edit)

I have news: apparently debug_get_callstack (which GMLive uses to figure out what script is being executed) gets progressively slower the more code you have in scripts that were called - even if that code is commented out. With GMLive now being a massive script, that is an issue.

I filed a bug report (#180892) and will look into mitigating this (likely by splitting the script into smaller scripts).

A workaround is to use live_name, which will then omit calling debug_get_callstack.

Thank you for a quick reaction. It would be fantastic if YoYo fixes the bug and  GMLive works as fast as it used to before the update to 2.3. 

(+1)

I have now released a new update that splits the GMLive’s big script into a handful of smaller scripts, which is enough to address general use cases (and if your profiler shows that debug_get_callstack is taking up a lot of time, you can still use live_name).