unity-console-write
Write log messages to Unity editor console.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Unity MCP: console_write
Pass parameters in args.
Parameters (args)
| Param | Type | Required | Description |
|---|---|---|---|
action |
string | yes | Message type: log, warning, error, assert, exception |
message |
string | yes | Log message content |
condition |
string | no | Assert condition expression (only for assert type) |
context |
string | no | Context object name for locating in console |
tag |
string | no | Tag for categorization and filtering |
- log — Info message
- warning — Warning message
- error — Error message
- assert — Assertion message
- exception — Exception message
Example args
{ "action": "log", "message": "Game initialized", "tag": "Startup" }
{ "action": "error", "message": "Failed to load resource", "context": "ResourceManager" }
Response
Success: { "success": true, "data": ... }. Failure: { "success": false, "message": "...", "error": "..." }.
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-03-11
- Index updated
- 2026-03-11
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!