Search Issue Tracker
Fixed
Fixed in 2022.3.38f1, 6000.0.11f1, 7000.0.0a2
Votes
0
Found in
2021.3.35f1
2022.3.20f1
2023.2.10f1
2023.3.0b7
6000.0.0b11
7000.0.0a1
Issue ID
UUM-64144
Regression
No
"ExecuteMenuItem failed because there is no menu named" error is thrown when clicking just below "Create and Add" in the Add Component window
Steps to reproduce:
1. Create a new project or open an existing one
2. Select a GameObject in Hierarchy or create a new one
3. Click "Add Component" in Inspector
4. Click "New Script"
5. Click below the "Create and Add” button
6. Observe the results
Expected results: Nothing happens
Actual results: Component creation window closes and an error "ExecuteMenuItem failed because there is no menu named" is thrown
Reproducible with: 2021.3.35f1, 2022.3.20f1, 2023.2.10f1, 2023.3.0b7
Reproducible on: Windows 11 Pro, Windows 10 (Reported by user), macOS 13.6.4 (Reported by user), Ubuntu 22.04 (Reported by user)
Not reproducible on: No other environments tested
NOTE: this bug happens because we are tyring to create a script named "new" (see video) and the class name will also be called "new" which is an error in C#.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor crash on "PPtr<Shader>::operator Shader*() const" when checking in changes with a very long comment in Unity Version Control window
- [Ubuntu] Toolbar and menu items for Version Control lack spaces in text on Linux
- Unity Version Control window Pending Changes tab’s Item checkbox is unresponsive when clicked and the item list is empty
- Audio stuttering occurs when heavy processing is performed while OnAudioFilterRead is in use
- Inconsistent Node search results in VFX Graph
Add comment