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
- Editor crashes when debugging a for loop
- Crash on UnityPlayer!profiling::ProfilerManager::DisposeProfilerRecorder+0xa when Player gets relaunched and exited after running for a long amount of time
- [Input system] When releasing one touch and pressing a second touch during a single frame, the second touch is not translated into UI event line OnPointerDown by the InputSystemUIInputModule
- URP Samples - multiple "Attempting to resolve render surface" and other errors appear when setting Quality pipeline asset
- OnDemandRendering.willCurrentFrameRender returns incorrect values in the Player when UnityEngine.Rendering.OnDemandRendering.renderFrameInterval is greater than 1
Add comment