Skip to content
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

ExecuteMenuItem failed because there is no menu named 'Window/Hierarchy' #4

Open
friuns2 opened this issue Apr 17, 2019 · 2 comments
Open

Comments

@friuns2
Copy link

friuns2 commented Apr 17, 2019

happens every time when i search for gameobject and press enter
Unity3d 2018.3.12f1

ExecuteMenuItem failed because there is no menu named 'Window/Hierarchy'
UnityEditor.EditorApplication:ExecuteMenuItem(String)
Haste.HasteWindow:OnReturn(Event) (at Assets/Haste/Editor/HasteWindow.cs:188)
Haste.HasteWindow:OnKeyDown(Event) (at Assets/Haste/Editor/HasteWindow.cs:321)
Haste.HasteWindow:OnEvent(Event) (at Assets/Haste/Editor/HasteWindow.cs:353)
Haste.HasteWindow:OnGUI() (at Assets/Haste/Editor/HasteWindow.cs:476)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

@jimfleming
Copy link
Member

jimfleming commented Apr 18, 2019

Haste activates the hierarchy tab (in case it's hidden). The menu path must have changed. The string "Window/Hierarchy" should be replaced with whichever menu path opens the hierarchy. The code for that is here: Assets/Haste/Editor/Results/HasteHierarchyResult.cs#L119

@friuns2
Copy link
Author

friuns2 commented Apr 18, 2019

image
ah right its moved here

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

No branches or pull requests

2 participants