DestinationSol icon indicating copy to clipboard operation
DestinationSol copied to clipboard

You can't click the buttons on the "game has crashed" window on android

Open Esnardo opened this issue 5 years ago • 1 comments

Issue: The buttons on the "the game has crashed" screen don't respond to taps.

Repro:

  1. Crash the game (see issue #568 for an easy way)
  2. Try to tap the buttons

https://media.discordapp.net/attachments/389093174921920512/784139389675503666/Screenshot_20201203-152827.png

V2.0.0

LGK20, Android

Esnardo avatar Dec 03 '20 20:12 Esnardo

I should note that when the game says it has crashed on Android, it really was about to crash! The message displayed is for debugging but, as far as I recall, nothing else should be running after a fatal exception occurs. It might be worth blacking-out the screen before showing the text though, so that players aren't confused by the game's unresponsiveness.

Whilst the text says crashed, what it really means is that a fatal uncaught exception has occurred. The game catches this at the base of the game loop though, preventing an actual crash from occuring and showing that message instead. Since things have failed so irrecoverably at this point, there's not much of the game left running to respond to inputs.

BenjaminAmos avatar Oct 16 '22 18:10 BenjaminAmos