unity_get_compilation_errors
Get C# compilation errors and warnings via the CompilationPipeline, immune to console clear or log flooding. Filter by severity or count.
Instructions
Get C# compilation errors/warnings via CompilationPipeline — independent of the console buffer (survives console clear and log flooding). Prefer this over unity_console_log for compile issues.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Unity instance port (from unity_select_instance). Always include it when multiple instances run. | |
| count | No | Max number of entries to retrieve (default: 50) | |
| severity | No | Filter: 'error', 'warning', or 'all' (default: 'all') |