Support => NGUI 3 Support => Topic started by: Kartzan on April 26, 2012, 04:22:51 PM
Title: Problem installing NGUI
Post by: Kartzan on April 26, 2012, 04:22:51 PM
So I just purchased NGUI from the asset store and imported the assets but there is no NGUI menu at the top... help?
Title: Re: Problem installing NGUI
Post by: ArenMook on April 26, 2012, 04:28:57 PM
That happens when there is a compile error. Check the log, what do you see?
Title: Re: Problem installing NGUI
Post by: ArenMook on April 26, 2012, 04:29:32 PM
Just to clarify by "log" I mean the console window.
Title: Re: Problem installing NGUI
Post by: Kartzan on April 26, 2012, 04:31:40 PM
Ah, should've figured that was causing the problem. This is the error:
Assets/Plugins/NGUI/Examples/Scripts/Other/ShaderQuality.cs(20,48): error CS0117: `UnityEngine.QualitySettings' does not contain a definition for `GetQualityLevel'
Title: Re: Problem installing NGUI
Post by: ArenMook on April 26, 2012, 04:33:18 PM
What version of Unity are you using? NGUI only supports 3.4.2 and 3.5.1+. 3.5.0 & beta versions are not supported.
Title: Re: Problem installing NGUI
Post by: Kartzan on April 26, 2012, 04:45:03 PM
That must be it. I have 3.5.0b6 and I checked for updates and it says it was the latest version. I'll make sure to upgrade to 3.5.1. Thanks a ton for the help.
Title: Re: Problem installing NGUI
Post by: Kartzan on April 26, 2012, 05:28:33 PM
So I did a fresh install of Unity to the latest version of 3.5.1 and it fixed the problem I was having. However I am now faced with another problem. When I create a New UI or any widget, it creates said element but with the following error:
Instance of UIPanelInspector couldn't be created because there is no script with that name.
Where UPPanelInspector reflects whatever it is I'm trying to create. As a result when I select the item in the hierarchy the inspector refuses to show the transform and script elements claiming:
"Multi-object editing is not supported."
Sorry to bother you again.
Title: Re: Problem installing NGUI
Post by: ArenMook on April 26, 2012, 05:35:36 PM
UIPanelInspector is an editor script that comes with NGUI.
Title: Re: Problem installing NGUI
Post by: Kartzan on April 26, 2012, 05:43:02 PM
I realize that and I see it in my project folder, that's just what it says when I create a new UI. I guess no one else has run into this problem.
Title: Re: Problem installing NGUI
Post by: ArenMook on April 26, 2012, 05:43:43 PM
Do you have more than one object selected?
Title: Re: Problem installing NGUI
Post by: Kartzan on April 26, 2012, 05:45:42 PM
This happens when I have no objects selected when I create the original UI through the menu.
Title: Re: Problem installing NGUI
Post by: ArenMook on April 26, 2012, 05:49:14 PM
Weird, I've never seen this and I use both 3.4.2 and 3.5.1. Did everything install correctly? When you select a panel, do you see it like this?
(http://www.tasharen.com/ngui/uipanel.jpg)
Title: Re: Problem installing NGUI
Post by: Kartzan on April 26, 2012, 05:53:00 PM
I don't see that. I just redownloaded and reimported NGUI and it is now giving a similar message but slightly different:
Instance of NGUITransformInspector couldn't be created. The script class needs to derive from ScriptableObject and be placed in the Assets/Editor folder.
Title: Re: Problem installing NGUI
Post by: ArenMook on April 26, 2012, 05:54:38 PM
Where is your NGUITransformInspector located? It should be in NGUI/Scripts/Editor folder
Title: Re: Problem installing NGUI
Post by: Kartzan on April 26, 2012, 05:55:20 PM
That's where it is. I'm creating a new project to see if that has any effect.
Title: Re: Problem installing NGUI
Post by: Kartzan on April 26, 2012, 05:56:08 PM