Repository navigation
UnityMCPBridge v10.2.9
UI Toolkit right-click support
interact_play_mode(action="click_ui", ui_system="ui_toolkit", button="right", ...)dispatches a right click through normal panel hit-testing and pointer-event propagation.- CLI:
unity-mcp editor click-ui --ui-system ui_toolkit --document RuntimeUI --element-name workspace --button right. - Omitted/null
buttonremains left. Unsupported buttons/backends and busy pointers are rejected. Interrupted dispatch is explicit and synthetic pressed-button state is released. - MCP, CLI, Unity handler, contracts, regression coverage, and agent documentation are synchronized. This is bounded runtime UI interaction, not general hardware/Input System input.
Installation
Keep the Unity package and Python server on the same immutable tag:
https://github.com/gitgomez/UnityMCPBridge.git?path=/MCPForUnity#v10.2.9
git+https://github.com/gitgomez/UnityMCPBridge.git@v10.2.9#subdirectory=Server
Verification
- 1,610 local server tests passed, 2 skipped; 141 tool/release tests passed.
- 26 targeted native Unity tests and the real MCP right-click navigation path passed during feature verification on Unity 6000.3.9f1.
- Fresh tagged Unity package import compiled successfully and resolved the release commit; tagged server CLI reports 10.2.9.
- PR and source-release checks passed. Hosted Unity verification remains an explicit non-blocking skip; no Unity credentials are required.