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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment