YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
15 stars 7 forks source link

In-Game: Consider removing the limitation that run/debug executables can only run for a specific length of time #2823

Open gnysek opened 7 months ago

gnysek commented 7 months ago

Is your feature request related to a problem?

In GM, only building using "Run" method shows full errors, with code + stack (function names, line of code). However, when creating executable, error is still shown, however not so detailed.

While testing game using "Build > Run" option, developer gets all needed info when game crashes, however it's not usable for QA team to test games and get same errors in longer run, while that would greatly help to fix things faster. It requires to test any build ASAP, and make new build every time.

A good example is testing game on Steam Deck - it's not possible to make direct "Run" on that platform, however, it's possible to go into build directory on Ubuntu, then transfer xxx.AppImage game back to Windows and then using SteamOS Devkit Client transfer it again to Deck and run it there, but after playing for 20 minutes, and getting any crash, game would no longer start, because of license checking DRM1.


1 https://manual.yoyogames.com/IDE_Navigation/Menus/The_Build_Menu.htm?rhhlterm=Re-Run .

Describe the solution you'd like

Being able to make special build which shows errors in same way that "Run", so like when GM_build_type == "run" (it's called yydebug?).

Additionally, it would be super useful it that would also allows to make executable in which gml_release_mode() can be set by developer.

Describe alternatives you've considered

No response

Additional context

Error message when GM_build_type == "run"

obraz

Same error message in GM_build_type == "exe" (public/retail version of game):

obraz

As you can see, while giving such version to QA, it's much harder to tell where error is, as error message is only limited to object and event name, but given line of code is -1 so it's not useful anymore.

gnysek commented 7 months ago

As GameMaker became free, DRM which limits test runs, could be completely removed.