unity-mcp icon indicating copy to clipboard operation
unity-mcp copied to clipboard

read_console: sinceTimestamp parameter is not implemented

Open whatevertogo opened this issue 9 months ago • 1 comments

Summary

  • The parameter in tool is accepted but filtering is not implemented
Image

Details

Unity's internal class doesn't directly expose timestamp fields via reflection.

Possible Approaches

  • Investigate if has hidden timestamp fields
  • Check how Unity Console window retrieves timestamps
  • Parse from message (if available)
  • Or remove/update documentation to clarify it's not supported

whatevertogo avatar Feb 14 '26 04:02 whatevertogo

Thanks for reporting this @whatevertogo! We've shipped a fix on the beta branch that removes the since_timestamp parameter from read_console entirely.

Why remove it? Unity's internal LogEntry type doesn't expose timestamp data via reflection, so the parameter was silently accepted but never actually filtered anything. Rather than leave a misleading stub, we cleaned it out of the Python server, C# handler, and tool reference docs.

You can test it out via Unity Package Manager using this git URL:

https://github.com/CoplayDev/unity-mcp.git?path=/MCPForUnity#beta

Let us know how it goes!

dsarno avatar Feb 17 '26 05:02 dsarno