Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: AndyGFX on March 31, 2013, 03:42:25 PM
-
Hi,
I never had this error before with 2.3.x versions, but with 2.5.0 i get this error when i want update NGUI in my project:
Assets/NGUI/Scripts/Editor/UIWidgetInspector.cs(528,55): error CS0117: `Tools' does not contain a definition for `current'
Is it Unity or NGUI problem?
-
At the very top of version notes, it clearly states that support for 3.5.4 and earlier versions has been deprecated, and if you still use 3.5.4 or earlier, you should not update. It's capitalized for emphasis too -- both in the asset store, and here: http://www.tasharen.com/forum/index.php?topic=11.msg17529#msg17529
-
You really should just update your Unity to 3.5.7 at the very least.
-
I was having the same error and it turns out I'm using Shatter Toolkit which also has a class called Tools. I renamed it to STools and NGUI is now back up and running. Search your assets for Tools and make sure there's nothing else which is clashing.
-
Yeah, in general if it can't find something in a given namespace (Tools, here) it's because there are several of them and Unity chooses one at random - it should be giving you a thing in the console bitching about naming overlap.