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
- SpeedTree does not move when using WindZone
- "Undeclared identifier 'LinearToSRGB'" error is thrown when creating a color variable with HDR color mode and assigning a Custom Render Texture target in Shader Graph
- Input System package is missing when creating a new HDRP project
- Inconsistent behaviour when interacting with different dropdown types with pointer events on parent Visual Element
- Hidden GameObjects won't re-enable when they have call "DontDestroyOnLoad" function
Add comment