Skip to content

Releases: hackerzhuli/unity_code_mcp

1.1.4

06 Aug 17:33

Choose a tag to compare

Improved

  • More stable compile error reporting with tool refresh_asset_database based on Unity's API CompilationPipeline.assemblyCompilationFinished instead of error logs.

1.1.3

01 Aug 09:27

Choose a tag to compare

Added

  • Dynamic Unity project detection using MCP roots capability from client
  • Automatic project path detection from workspace roots when supported by IDE
  • Fallback to UNITY_PROJECT_PATH environment variable when roots capability is not available

Improved

  • Enhanced project detection reliability across different IDE environments
  • Better integration with VS Code based IDEs using ${workspaceFolder} variable

1.1.2

29 Jul 05:18

Choose a tag to compare

Improved

  • Improved run tests to allow run_tests filter with an partial name, e.g. just class name without namespace, or just method name, still will find tests to run, but it may run more tests. This is because sometimes e.g. AI agents didn't see the namespace of the test class, so it will try to run tests with the class name.
  • Better run_tests tool call result, when no tests are run, now it shows 0 passed, instead of 1 passed. Also, now it shows 50 passed test names, instead of just a passed test count. It helps the AI agents to confirm the expected tests were run, also saves tokens when there are too many tests.
  • Improved refresh_asset_database performance when compilation did occur, return faster when we detect related events
  • Improved refresh_asset_database reliability for getting compile errors because we wait longer (10 seconds instead of 1) for compilation to start, but this does mean that if compilation didn't occur, our refresh process can take a long time(10 seconds), it's OK because agents typically call this when they have changed scripts, so compilation will occur most of the time

1.1.1

24 Jul 19:59

Choose a tag to compare

Improved

  • Better compile error reporting in a asset_database_refresh call when compilation didn't occur(because scripts didn't change), we report previous compile errors. This allows AI agents to see compile errors even if the actual compilation happened out of a tool call, e.g. user might have manually triggered an asset database refresh, or the compilation happened before the MCP server started

1.1.0

24 Jul 12:32

Choose a tag to compare

Added

  • Play mode state tracking to prevent actions during play mode
  • Test run tracking with conflict prevention
  • Reduce logs memory usage with size limits and smart log deduplication

Fixed

  • Correct test result counts for failed and skipped tests
  • Graceful handling of unexpected Unity Editor shutdown

1.0.0

22 Jul 21:46

Choose a tag to compare

Added

  • Initial release of Unity Code MCP Server
  • Asset database refresh tool with compilation error reporting
  • Test execution tool with comprehensive test results and logs
  • Compilation-resilient architecture that survives Unity domain reloads
  • Self-contained Rust binary with no runtime dependencies
  • Support for Unity 6.0 and higher
  • Cross-platform compatibility (Windows, macOS, Linux)

Features

  • Coding-focused design: Only essential tools for AI-driven code development
  • High performance: Built in Rust for speed and minimal resource usage
  • Robust error handling: Graceful handling of Unity compilation cycles
  • Comprehensive test support: Both EditMode and PlayMode test execution