Editor menu items stop functioning

This may be related to this bug:

After running the editor my custom menu item scripts cease to function. Restarting causes them to function again.

Here’s a quick test script for it.

using UnityEngine;
using UnityEditor;


public class MenuItemTest : Editor
{
     [MenuItem("Tools/Menu Item")]
     public static void MenuTest()
     {
           Debug.Log("Test");
     }
}

It works until you enter play mode for the first time in the editor session. I’ve started a forum thread about it a while back.

Thanks LukaKotar, I must have missed that thread. I’m glad I’m not the only one who’s seen this.

Also, I’ve noticed this both under Manjaro and Ubuntu 15.10.