Search Issue Tracker
Fixed in 2022.2.X
Votes
0
Found in
2017.4.32f1
2019.3.0b3
Issue ID
1182282
Regression
No
Custom MenuItem only updates the Editor after restart
When creating custom menus priority attribute does not update correctly until the project is restarted. Reimport or a refresh of the code does not seem to work either.
Steps to reproduce
- Open the attached project in Unity 2019.3.0b3
- Open the CreateBuild script in Visual Studio Code or Rider.
- Edit the priority of MenuItem("Build/Build All/Standalone 64-bit") to be 21. [MenuItem("Build/Build All/Standalone 64-bit", false, 21)]
- Save and go back to the editor
- Unity's top menu bar should have a Build option
- Select this option
Notice issue >> Build All should be at the bottom of the menu with a divider. But it's still at it's previous position of 0.
Tested not working
macOS 2019.3.0b1
Linux 2019.3.0b3
Linux 2017.4.32f1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a10