unity-console

Capture, filter, clear, and write Unity console logs.

Updated May 9, 2026
One-click install
npx skills add https://github.com/krikommp/chess-game --skill unity-console-krikommp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-console
Source: https://github.com/krikommp/chess-game/tree/main/.agents/skills/unity-skills/skills/console
Command: npx skills add https://github.com/krikommp/chess-game --skill unity-console-krikommp

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill simplifies Unity console log management, enabling users to capture, filter, and clear logs easily, and debug their projects more effectively.

Core Features & Use Cases

  • Console Log Capture: Start and stop capturing Unity console logs programmatically.
  • Log Filtering: Retrieve logs with specific filters for efficiency.
  • Console Clearing: Remove logs from the Unity console to maintain clarity.
  • Custom Logging: Write custom log messages for specific debugging needs.
  • Use Case: For a game developer, this Skill can be used to automatically capture and export console logs during a play session, which helps in debugging game crashes or performance issues.

Quick Start

Capture and export all console logs from the Unity editor to 'console_log.txt'.

Frequently Asked Questions about unity-console

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

FAQPage Schema
How do I capture Unity console logs during a play session for debugging?

To capture Unity console logs, you can programmatically start and stop log capture during a play session, allowing you to automatically export console logs to a text file for debugging game crashes or performance issues.

Can I filter Unity console logs to find specific error messages?

Yes, you can filter Unity console logs by retrieving entries with specific filters. This allows you to isolate relevant error messages and custom logs efficiently without manually searching the console output.

What is the best way to clear the Unity console automatically before running a new test?

The best way to clear the Unity console automatically is by triggering a console clearing action. This removes existing logs from the Unity editor console to maintain clarity before generating new log entries.

Do I need a specific Unity environment to manage console logs programmatically?

Yes, you need an active Unity environment for console access. This environment is required to execute actions like capturing, filtering, clearing, and writing custom log messages for your game development projects.

How do I write custom log messages to the Unity console for specific debugging needs?

You can write custom log messages to the Unity console by using the custom logging action. This allows you to inject specific debugging messages directly into the console log stream during your development workflow.

Why does my Unity console log capture not work outside the editor?

Unity console log capture does not work outside the editor because it requires a direct Unity environment for console access. The actions are designed specifically for Unity project debugging within the editor context.