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
- Renaming the VFX Graph uses "Enter" for a new line and "Enter + Shift" to confirm instead of vice versa
- RasterCommandBuffer.DrawMeshInstanced light attenuation does not work in the Release build Player
- Main thread freezes when right-clicking on the title bar of a windowed Player on Windows
- “Open” button in Inspector does not function for certain Assets
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
Add comment