Search Issue Tracker
Fixed in 2018.2.X
Fixed in 2018.1.X
Votes
8
Found in
5.6.1f1
Issue ID
923501
Regression
No
Menu.SetChecked state is lost after entering a Play mode in the Editor
Reproduction steps:
1. Open the attached project "MenuItemCheck.zip";
2. Click on MenuItemCheck -> The Menu Item to set the check in the item;
3. Click on the Play button;
4. Click on the menu again to see how the menu item is not checked anymore.
Expected results: The menu item is checked even if we enter a play mode;
Actual results: The menu item is not checked anymore.
Reproduced on: 5.5.3p3, 5.6.2.f1, 2017.1.0f1, 2017.2.a04.
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
matt2405
Mar 19, 2018 18:48
2017.3.1f1 still has this bug. it is still currently not fixed.
Ghat-Smith
Dec 11, 2017 12:39
Hello. After struggling with a similar problem (checkboxes lost after script compilation), it seems that I found a temporary solution. You can call SetChecked in the MenuItem validation method. See documentation (https://docs.unity3d.com/ScriptReference/MenuItem.html) for more details about MenuItem validation implementation.
optimise
Oct 14, 2017 07:12
2017.1.2f1 still have this bug. Hopefully this bug can be fixed soon.