-
Notifications
You must be signed in to change notification settings - Fork 526
Description
Description:
I'm encountering an issue when trying to create a UI Button in Unity 2022. The usual menu path GameObject → UI → Button seems to be missing. It appears that the Button prefab has been moved under Legacy in the UI menu.
Environment:
Unity Version: 2022.x
Platform: [e.g., Windows 10 / macOS]
UI System: Built-in Unity UI (uGUI)
UnityMCP report Error:
ExecuteMenuItem failed because there is no menu named 'GameObject/UI/Button'
UnityEditor.EditorApplication:ExecuteMenuItem (string)
MCPForUnity.Editor.Tools.ExecuteMenuItem:HandleCommand (Newtonsoft.Json.Linq.JObject) (at ./Library/PackageCache/com.coplaydev.unity-mcp@edd7817d40/Editor/Tools/ExecuteMenuItem.cs:35)
MCPForUnity.Editor.Tools.CommandRegistry:ExecuteCommand (string,Newtonsoft.Json.Linq.JObject,System.Threading.Tasks.TaskCompletionSource`1) (at ./Library/PackageCache/com.coplaydev.unity-mcp@edd7817d40/Editor/Tools/CommandRegistry.cs:248)
MCPForUnity.Editor.MCPForUnityBridge:ProcessCommands () (at ./Library/PackageCache/com.coplaydev.unity-mcp@edd7817d40/Editor/MCPForUnityBridge.cs:954)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()