Releases: hackerzhuli/unity_code_mcp
Releases · hackerzhuli/unity_code_mcp
1.1.4
1.1.3
Added
- Dynamic Unity project detection using MCP
rootscapability from client - Automatic project path detection from workspace roots when supported by IDE
- Fallback to
UNITY_PROJECT_PATHenvironment variable whenrootscapability 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
Improved
- Improved run tests to allow
run_testsfilter 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_teststool 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_databaseperformance when compilation did occur, return faster when we detect related events - Improved
refresh_asset_databasereliability 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
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
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
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