Crash Guard for RPG Maker MZ v1.0
BitQuest Studio
Introduction
Crash Guard provides a multi-layer safety system that catches and handles the most frequent RPG Maker MZ runtime errors, especially those triggered by event manipulation or plugin conflicts. Instead of crashing to a black screen, your game will recover gracefully while logging helpful debugging info to the console. Ideal for complex projects that use advanced event systems or multiple custom plugins.
Features
Prevents “Cannot read property 'erase' of null” errors
Adds safety checks for invalid event access in custom plugins
Protects against null/undefined event method calls
Ensures safe handling of event initialization and setup
Guards against out-of-bounds event array access
Handles spriteset event cleanup errors
Works with Hendrix Action Engine, DotMoveSystem, and most event plugins
Logs all intercepted errors to the console with [ErrorFix] prefix
Activates only when necessary. All normal behavior is untouched
How to Use
Simply drop the plugin at the top of your plugin list and it works automatically!