Original: http://www.tasharen.com/forum/index.php?topic=14856.0
Hey Arenmook, after upgrading-to-unity 5.4.1 (from 5.3.6P1) and upgrading-NGUI 3.10.1, Unity kept complaining on me on Every recompile like this:
Quote
ignoring menu item NGUI because it is in no submenu!
So I looked to it, and it turns out of that this is the problem on NGUIMenu.cs line 715+:
Locate the NGUIMenu.cs file in the Ngui folder in the asset, open it, and replace the following two lines of code
- [MenuItem ("ngui/", false, 11)]
- Static void Breaker () {}
- [MenuItem ("Ngui/help", false, 12)]
- Static Public void Help () {nguihelp.show ();}
It can be easily fixed by removing the "breaker" lines and increasing "help" priority by ten, like so:
Replace with one of the following sentences
- [MenuItem ("Ngui/help", false, 120)]
- Static Public void Help () {nguihelp.show ();}
Unity appears ignoring menu item NGUI because it is in no submenu!