unity-console

Capture, filter, and export Unity Editor console logs programmatically.

2|Updated May 18, 2026
One-click install
npx skills add https://github.com/pcone-mm/NewFPG --skill unity-console-pcone-mm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-console
Source: https://github.com/pcone-mm/NewFPG/tree/main/.agents/skills/unity-skills/skills/console
Command: npx skills add https://github.com/pcone-mm/NewFPG --skill unity-console-pcone-mm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Debugging Unity projects requires constantly switching to the Editor console to read logs, filter errors, and track runtime behavior. This Skill lets an AI agent capture, query, filter, and export Unity console output directly, so log inspection becomes part of an automated workflow. ## Core Features & Use Cases - Log Capture & Querying: Start/stop log capture around play mode sessions and retrieve logs filtered by type (Error/Warning/Log) or substring. - Console Control: Write custom log entries, clear the console, and toggle settings like collapse, clear-on-play, and pause-on-error. - Export & Statistics: Export console logs to a file and get counts by log type for quick health checks. - Use Case: Before entering play mode, start capture, run gameplay, then pull only Error-type logs to immediately surface runtime exceptions without opening the Editor. ## Quick Start Start capturing the Unity console, run the game, then show me only the error logs.

Frequently Asked Questions about unity-console

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I read Unity console logs from an AI agent or script?

Call console_get_logs to read Unity Console history directly, optionally filtering by type (Error, Warning, Log) or a substring. If console_start_capture is active, it returns the captured buffer with timestamps instead.

How to capture Unity logs during play mode?

Call console_start_capture before entering play mode, run gameplay, then call console_get_logs to retrieve timestamped entries. Call console_stop_capture when finished to free resources.

What is the difference between console_get_logs and debug_get_logs in Unity skills?

console_get_logs reads the captured buffer or console history managed by the console module, while debug_get_logs reads all console entries through the debug module. For compilation errors or stack traces, use the debug module instead.

Can I export Unity console logs to a file?

Yes, console_export writes logs to a file, defaulting to Assets/console_log.txt. It uses the captured buffer when capture is active, otherwise it reads directly from Unity Console history.

Why does console_get_stats not show exceptions and asserts?

In direct mode (reading Unity Console history without an active capture), exceptions and asserts are folded into the errors count. Start a capture session first to get separate exception and assert counts.