Search Issue Tracker
Fixed
Fixed in 2021.3.37f1, 2022.3.22f1, 2023.2.14f1, 2023.3.0b11
Votes
0
Found in
2021.3.10f1
2022.1.17f1
2022.2.0b8
2023.1.0a11
2023.2.0a1
2023.3.0a3
Issue ID
UUM-14958
Regression
Yes
Crash when creating not existing MenuItem
Reproduction steps:
1. Open the user’s attached project
2. Open the “Assets/Script/Editor/EditorUtils.cs” script
3. Change line 10 to “[MenuItem("Assets/Create/Rendering/Custom Editor")]”
4. Save the script file and go back to Unity
5. Right-click anywhere in Assets > Create
6. Observe that at the bottom the previous MenuItem still exists, but it should not
7. Click C# Script > Custom Editor
Expected result: The option to click C# Script > Custom Editor does not exist
Actual result: Unity Editor crashes
Reproducible with: 2021.2.0a1, 2021.2.19f1, 2021.3.10f1, 2022.1.17f1, 2022.2.0b8, 2023.1.0a11
Not reproducible with: 2020.3.39f1, 2021.1.28f1
Reproducible on: Windows 11 Pro 21H2
Note: on the 2021.1 stream, Unity Editor doesn’t crash, but the previous MenuItem still exists when it shouldn’t
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Add comment