Search Issue Tracker
Fixed in 2022.1.X
Votes
0
Found in
2022.1.0a13
Issue ID
1377944
Regression
Yes
Possible Regression: EditorApplication.ExecuteMenuItem won't execute a menu item hidden by an active Editor Mode
Load the attached project.
Under the Metacast menu there are two items of note. Toggle will toggle in and out of Metacast mode, and Execute Menu Test will attempt to execute the menu item "GameObject/3D Object/Cube"
Depending on which mode the project is in when you open it, use the toggle if neccesary to ensure the editor is NOT in Metacast mode
Execute the Menu Test and see that a Cube is created
Next, use Metacast->Toggle to go into Metacast mode
Execute Menu Test again and note the console error and no cube is created
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
- "EndLayoutGroup: BeginLayoutGroup must be called first" error is thrown when changing Shader Precision Model from the Build Profiles window
- White artifacts/outlines are visible in the Garden Scene when viewing at meshes from a distance
- Shader warnings "Sprite-Unlit-Default" are thrown after building 2D Platrformer Microgame Template
- [Android] HLSL shader becomes corrupted when running on an Android device
- Missing spaces in "Welcome to VR Mutiplayer Template Project" Welcome Dialog window
Resolution Note (fix version 2022.1):
This is by design. Our menu rework now enforce calling an existing menu item with EditorApplication.ExecuteMenuItem.