Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: iwishash on September 23, 2012, 01:27:35 AM
-
I did update version 2.21 from 2.16, but I got an error message like below.
"Assets/NGUI/Scripts/Internal/UIDrawCall.cs(272,38): error CS1061: Type `UnityEngine.Mesh' does not contain a definition for `colors32' and no extension method `colors32' of type `UnityEngine.Mesh' could be found (are you missing a using directive or an assembly reference?)"
I deleted 2.16 version of NGUI folder, then Update 2.21 package.
What did I wrong?
-
You need update Unity too to 3.5.5f3
-
I too got this error, and I am running Unity 4.0 b10.
I'm not sure if this is related, but my main issue is since upgrading my GUI seems burned into the panel. When I click Play I get the same labels repeated over the top. I tried deleting and recreating the UI, but even with no controls present the Panel is still displaying the text from the two Labels I had previously.
-
"burn-in" is a sign that your camera is not clearing its color buffer. Check its clear flags.
-
Thanks, but I don't think that was the problem. I have three cameras, as follows:
1. Background cam - Depth 0 - Shows stars and Skysphere
2. Main cam - Depth 1 - Shows all 3d objects
3. GUI cam - Depth 2 - Shows GUI
The Background cam is set to Solid colour and the other two are set to Depth only.
Found when compiling to device was fine, problem only existed in editor. However we had a power failure last night, and when I booted my Mac back and ran Unity, the problem was then gone in Editor too!!
-
You need update Unity too to 3.5.5f3
And what if we can't?
-
To Solve this:
Find all and change to or whatever version of unity you are using pre 3.5.5.