Search Issue Tracker

In Progress

Fix In Review for 6000.0.3f1

Under Consideration for 2021.3.X, 2022.3.X

Votes

0

Found in

2021.3.35f1

2022.3.20f1

2023.2.10f1

2023.3.0b7

6000.0.0b11

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 just below "Create and Add”
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#.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.