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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Add comment