• Hey! Guest! The 39th GMC Jam will take place between November 26th, 12:00 UTC and November 30th, 12:00 UTC. Why not join in! Click here to find out more!

Asset - Extension GMSentry: Automated Error Reporting


I've written a simple asset to submit error reports to popular error tracking service sentry.io, a tool used by companies like Reddit, Dropbox, and Uber to automatically receive errors from their software/services. GMSentry allows you to use it too for automatically logging error reports from your in-testing and released games, including with it full debugging information to help you track down your bugs.

GMSentry can be used stand-alone, but the real power is found when combining it with YAL's catch_error extension.

GMS2 only, but probably could be ported to GMS1 with no changes.

Marketplace link: https://marketplace.yoyogames.com/assets/7917/gmsentry
Installation guide: Releasing GameMaker games: automating bug reports like a pro Part 1
Advanced usage guide: Releasing GameMaker games: automating bug reports like a pro Part 2

* Automatically submit error reports containing a wealth of debug information
* Add custom tags to allow reports to be filtered by version, GM version, OS, etc.
* Add user data to allow reports to be grouped by user/submitter
* Add "breadcrumbs" - record of the sequence of events leading up to a crash
* Add debug data to be included with the logs
* Automatically dump event to file in case of no internet

Example of collected bug reports during Forager's development/beta testing:

Example of a single report (the page contains additional OS and build information, as well as any added "breadcrumbs")

Example of searchable breadcrumbs (logged debug information detailing the sequence of events leading up to a bug - for example, if you were debugging a menu, you'd add breadcrumbs for menu navigation; if you were debugging a chunk loading system, you'd add breadcrumbs for chunks loaded).

Example of additional arbitrary data attached to report:

Example usage with YAL's catch_error:
// Initialize GMSentry somewhere early in your game
setry_init("<insert your DSN here>");

// Later on, dequeue errors from catch_error and send them to sentry
var s = catch_error_dequeue();
if (s != "") {


Hi. Thank you for the extension, it's just GREAT!

I have a question. I'm writing a Firebase Crashlytics extension, will share it for free and use them in my projects. How do you catch errors ?