One of my scripts defines a bunch of MenuItems. Unity crashes when invoking some of them. Already checked:
- the script is in Editor folder
- the class is public
- the methods for each MenuItem are public static void
Some of the MenuItem work as expected. Others crash Unity, and crash it VERY quickly. It doesn't even get to the first line of the method. I didn't see anything useful in the Console app.
It's Unity 5.4.1f1 on OS X 10.11.6
What else to check?
↧