In some cases we run our game package with `-unattended` to support some automated processes. However, occasionally a hang might happen and the process will detect this as part of the heartbeats. The main issue is that when this is detected it will open a message box to perform the user of this hang. This message box blocks the application from exiting, in our case we are trying to run the game in unattended and would like it to immediately continue and simply exit the game.
I’ve made a local change that replaces `FPlatformMisc::MessageBoxExt` to `FMessageDialog::Open` in `ThreadHeartbeat.cpp` and `RenderingThread.cpp`. `FMessageDialog` respects the unattended flag correctly.
I assume our setup is slightly unusual but I’d like to know if there are any specific reasons NOT to use `FMessageDialog` in these areas? And if not, why this isn’t used as standard for the message boxes (there are more use cases of `FPlatformMisc::MessageBoxExt` across the wider code base)
[Attachment Removed]