SnoutUp
Member
Hello there,
I've been dreaming about crashing my games nicely for a long time and decided to spend my Sunday trying to work something out with that new exception_unhandled_handler, but... failed. Now it's somewhat decent on Windows, since I can add a little joke to the crash message to make it look less threatening, but if I display it via show_message it means that players don't get an option to copy the output easily without taking a screenshot. I tried using show_error hoping that it will use the old error dialog which is more accessible, but for some reason show_error invokes unhandled exception (doesn't matter if abort flag was set to true or false) and that crashes the game even harder.
After giving up on Windows, I was hoping I'd be able to set up that exception handler on Android and send the crash log to GameAnalytics or at least strip all those "#" symbols out of error message, so it would fit on screen when players take screenshots for reporting, but after crashing the game exits in a way that it kills all dialogs and likely webservice calls instantly.
How do you use it? Was anyone able to set it up on mobile?
I guess I'll try sending crashes to GameAnalytics on desktop version and hope at least that works.
On a related note, maybe it's time to update the default crash template? Because it looks like a cruel joke on mobile.
I've been dreaming about crashing my games nicely for a long time and decided to spend my Sunday trying to work something out with that new exception_unhandled_handler, but... failed. Now it's somewhat decent on Windows, since I can add a little joke to the crash message to make it look less threatening, but if I display it via show_message it means that players don't get an option to copy the output easily without taking a screenshot. I tried using show_error hoping that it will use the old error dialog which is more accessible, but for some reason show_error invokes unhandled exception (doesn't matter if abort flag was set to true or false) and that crashes the game even harder.
After giving up on Windows, I was hoping I'd be able to set up that exception handler on Android and send the crash log to GameAnalytics or at least strip all those "#" symbols out of error message, so it would fit on screen when players take screenshots for reporting, but after crashing the game exits in a way that it kills all dialogs and likely webservice calls instantly.
How do you use it? Was anyone able to set it up on mobile?
I guess I'll try sending crashes to GameAnalytics on desktop version and hope at least that works.
On a related note, maybe it's time to update the default crash template? Because it looks like a cruel joke on mobile.