profiler-save-data
Installation
SKILL.md
Profiler / Save Data
Composes the outputs of profiler-get-status, profiler-get-memory-stats, profiler-get-rendering-stats, profiler-get-script-stats and profiler-capture-frame into a single JSON document and writes it to filePath. Creates any missing parent directories.
Inputs
filePath(required) — absolute or workspace-relative path to write to.
Errors
- Returns
[Error]whenfilePathis empty or the write fails (message includes the underlying exception text).
Behavior
Uses System.Text.Json (BCL) for serialization and System.IO.File.WriteAllText for the write. No external Unity package is required.