Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - dxball

Pages: [1]
1
NGUI 3 Support / Compatibility with Unity 5.1.x
« on: December 30, 2016, 01:53:22 AM »
I update my nGUI to latest 3.11.11 and Unity throw some compile error.
(My Unity version is 5.1.4f1)

Quote
Assets/NGUI/Scripts/Internal/UIDrawCall.cs(576,39): error CS1061: Type `UnityEngine.Mesh' does not contain a definition for `SetVertices' and no extension method `SetVertices' of type `UnityEngine.Mesh' could be found (are you missing a using directive or an assembly reference?)

Assets/NGUI/Scripts/Internal/UIDrawCall.cs(577,39): error CS1061: Type `UnityEngine.Mesh' does not contain a definition for `SetUVs' and no extension method `SetUVs' of type `UnityEngine.Mesh' could be found (are you missing a using directive or an assembly reference?)

Assets/NGUI/Scripts/Internal/UIDrawCall.cs(578,39): error CS1061: Type `UnityEngine.Mesh' does not contain a definition for `SetColors' and no extension method `SetColors' of type `UnityEngine.Mesh' could be found (are you missing a using directive or an assembly reference?)

Assets/NGUI/Scripts/Internal/UIDrawCall.cs(589,39): error CS1061: Type `UnityEngine.Mesh' does not contain a definition for `SetUVs' and no extension method `SetUVs' of type `UnityEngine.Mesh' could be found (are you missing a using directive or an assembly reference?)

Assets/NGUI/Scripts/Internal/UIDrawCall.cs(590,39): error CS1061: Type `UnityEngine.Mesh' does not contain a definition for `SetNormals' and no extension method `SetNormals' of type `UnityEngine.Mesh' could be found (are you missing a using directive or an assembly reference?)

Assets/NGUI/Scripts/Internal/UIDrawCall.cs(591,39): error CS1061: Type `UnityEngine.Mesh' does not contain a definition for `SetTangents' and no extension method `SetTangents' of type `UnityEngine.Mesh' could be found (are you missing a using directive or an assembly reference?)

Does nGUI still work in Unity 5.1.x ?

2
NGUI 3 Support / Re: UILabels breaking
« on: September 13, 2015, 07:42:03 PM »
Can one of you create a repro case for me to look at that exhibits this issue? I don't have this happening on my end so I can't fix it properly. However you can just add null checks on line 260 and 287:
  1. mClipCount = (panel != null) ? panel.clipCount : 0;
  1. if (panel != null && panel.clipping == Clipping.TextureMask)
Hi
The vidoe I made is just a new project created by Unity 5.1.3
import NGUI from Assets/Custom Package/ -> Find NGUI Package in Path "C:\Users\[login account]\AppData\Roaming\Unity\Asset Store-5.x\Tasharen Entertainment\Editor ExtensionsGUI\"

If the UILable use Unity Font and change the font size in unity inspector quickly, the issue will happen


-- edit

I just add the fixed code to the repo project, but this issue still happen  :-X

3
NGUI 3 Support / Re: UILabels breaking
« on: September 07, 2015, 07:55:09 PM »
Hi, I'm facing the same problem.

I'm using Unity 5.1.3f1 & NGUI 3.9.2

I made a repo video to show this issue

https://youtu.be/pACjnQYzic8

Pages: [1]