Skip to content

fix: resolve menu execution failure by unifying parameter names fixes #116 #117

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lishuceo
Copy link

@lishuceo lishuceo commented Apr 23, 2025

Fixes #116

Unified parameter name from "menu_path" to "menuPath" in ExecuteMenuItem.cs, resolving the parameter name mismatch that caused menu items to fail execution.

The issue occurred due to inconsistent naming styles between parameter reception and validation - code expected "menuPath" but error message used "menu_path", causing errors even when clients passed the correct parameter.

Unified parameter name from "menu_path" to "menuPath" in ExecuteMenuItem.cs,
resolving the parameter name mismatch that caused menu items to fail execution.

The issue occurred due to inconsistent naming styles between parameter reception
and validation - code expected "menuPath" but error message used "menu_path",
causing errors even when clients passed the correct parameter.
@lishuceo lishuceo changed the title fix: resolve menu execution failure by unifying parameter names fixes #116 fix: resolve menu execution failure by unifying parameter names Fixes #116 Apr 23, 2025
@lishuceo lishuceo changed the title fix: resolve menu execution failure by unifying parameter names Fixes #116 fix: resolve menu execution failure by unifying parameter names fixes #116 Apr 23, 2025
@bhadrik
Copy link

bhadrik commented May 20, 2025

I have created agent inside of Unity instead of managing MCP, check it out here.
https://github.com/bhadrik/unity-autopilot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unity Menu Execution Not Working Properly
2 participants