Okay, so here's another example I want to ask about which is along the same lines.
Two of my players have this error:
When they restarted and played again, the error did not occur (for each of them the error was in a different part of the game).
Judging by the 2 instances that I've seen (in thousands of playthroughs), it occurs when you call a "show picture" followed by a "move picture", when the show statement hasn't fully loaded the image before the move statement kicks in.
We've been unable to debug it because we can't get it to happen in-editor, as it only seems to happen under high load on lower spec machines. We've had thousands of people play through the chapters of the game, and I personally must've played through them hundreds of times without this issue.
The game engine, in this scenario, in
exported builds, should really "fail silently". There should be a null check on this function, and if null, it should just escape from the function and return an error code which is logged silently. This kind of functionality is fine for the type of song-and-dance it should make when debugging.
Because as a developer, I can't fix this sort of issue, because it's so random. I could play the game for 30,000 hours and not see it. But one player who has bought the game will see it; when if there was a null-check, in ONE part of the game, ONCE, an image would not appear when it should do. An inattentive player may not even notice, it's blink-and-you'll-miss it.
Wanting an engine to "handle errors graciously" in a commercial game build isn't being lazy. If a texture is missing from a game in Unreal, the game doesn't crash or fall over; it'd just display a garbled texture and allow the player to move on (and probably sends an error-log to a server somewhere, but that's a larger task).
RPGM probably needs a deployment option for if you want "verbose logging" or similar turned on/off, and if OFF, the game tries to keep running even when something has gone wrong.
For this one, I'm going to put a 2-frame "wait" between the Show and Move commands, because that's all I can do.