If the program throws an access violation error mz shuts down with no errors, try{}catch{} does not catch these errors and you can only see them if you have the console open with the debug SDK. On live builds the player will only ever see the program shut down with no errors.
One way to generate access violation is for the gc to clean up a promise before it is processed, I've also noticed that the steam api also sometimes generates and throws these errors.
Is there anything that can be done to prevent these errors from silently closing rpg maker apps with no feedback to the user/dev. It's especially difficult to find/debug or fix these errors since we can never see a stack trace.
One way to generate access violation is for the gc to clean up a promise before it is processed, I've also noticed that the steam api also sometimes generates and throws these errors.
Is there anything that can be done to prevent these errors from silently closing rpg maker apps with no feedback to the user/dev. It's especially difficult to find/debug or fix these errors since we can never see a stack trace.