GameMaker (2.0 - 2.2.x)

catch_error - error handling!


You must be logged in to obtain assets


Quick links: Documentation · page (it's cheaper there)

Versions: GameMaker: Studio ( version only), GameMaker Studio 2

Platforms: Windows, Windows (YYC)

GMS2.3/GM2022+ note: this extension is incompatible with GMS2.3/GM2022+ and is no longer necessary - see try-catch and exception_unhandled_handler.

Error messages display can be considered one of the weaker points in GameMaker - default error dialog boxes look unappealing, confusing to player, and give no incentive to actually copy the error, having you often hear that the game "had shown an error message and closed" without ever getting to know what the error message was.

This extension addresses that - for normal errors, you can choose how to present them to player (and whether to show them at all); for fatal errors, you can now show a human-readable notice and save the error message or pass it to an application.

Examples of what you can do with this:

  • Show custom messages for GML errors, or hide them entirely
  • Relaunch the game after a fatal error occurs
  • Save error messages on exit for viewing or later use
  • Pass error messages to external applications
  • Automatically collect errors from players (don't forget to write a privacy policy)
  • Use the system for makeshift exception handling

Have fun !

End User Licence Agreement (EULA).

Age Rating: 4+


GMS2 - Version 1.0.1. Published February 9, 2019

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait