Practical guide

Diagnose and recover from a package fault

Use bounded diagnostics, package isolation, Safe Mode, reload, and standard restoration without stopping simulation.

Procedure

  1. Open the compiled Scripts diagnostics panel and identify the package, callback, generation, and stable error ID.
  2. Correct the package source or manifest without changing gameplay owners.
  3. Reload packages; the host validates the candidate before replacing the live graph.
  4. If faults repeat, allow the host to disable only the failing package after its threshold.
  5. Use Safe Mode to remove scripted surfaces or restore the standard interface from the compiled shell.

Example

-- Recovery controls are compiled, not Lua-owned.
-- Fix the package, then activate ui.action.packages.reload.
-- If the replacement fails, the previous valid graph remains active.

Constraints and recovery

Related symbols

Project references