You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Console read fails to retrieve Assert Error log entries #199
So to follow up the issue appears be incomplete support for Assert Type error logs. If these types of errors could be retrieved from the Unity console that would be useful for complete log support.
// Apply the observed "one level lower" correction
switch (initialType)
{
case LogType.Error:
return LogType.Warning; // Error becomes Warning
case LogType.Warning:
return LogType.Log; // Warning becomes Log
case LogType.Assert:
return LogType.Assert; // Assert remains Assert (no lower level defined)
case LogType.Log:
return LogType.Log; // Log remains Log
default:
return LogType.Log; // Default fallback
}
"""Gets messages from or clears the Unity Editor console.
Args:
ctx: The MCP context.
action: Operation ('get' or 'clear').
types: Message types to get **('error', 'warning', 'log', 'all').**
count: Max messages to return.
filter_text: Text filter for messages.
since_timestamp: Get messages after this timestamp (ISO 8601).
format: Output format ('plain', 'detailed', 'json').
include_stacktrace: Include stack traces in output.
Returns:
Dictionary with results. For 'get', includes 'data' (messages).
"""
Activity
ibytergj commentedon Aug 10, 2025
So to follow up the issue appears be incomplete support for Assert Type error logs. If these types of errors could be retrieved from the Unity console that would be useful for complete log support.
"""Gets messages from or clears the Unity Editor console.
[-]Console read fails to retrieve error entries[/-][+]Console read fails to retrieve Assert Error log entries[/+]dsarno commentedon Aug 11, 2025
Duplicate of #125 . Fix in progress.
dsarno commentedon Aug 12, 2025
Should be fixed by #202 . Closing this issue, let us know if any problems.