Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: eyeofhorus on April 13, 2017, 05:03:22 AM

Title: UILabel text wont show without a Material assigned
Post by: eyeofhorus on April 13, 2017, 05:03:22 AM
unity 5.4.1
ngui 3.11.2

Hello,
I have a simple UILabel added to the scene with Unity font Arial, however the text does not display on the screen if the material field is left blank.

Also the bbcode seems not working, the bbcode looks like being parsed:
[ff0000]testing[-] will display testing on screen, but it still appears black in color.
Title: Re: UILabel text wont show without a Material assigned
Post by: ArenMook on April 14, 2017, 04:38:25 PM
Works fine here... Just made a new scene, ALT+SHIFT+L, assigned the Unity's Arial font and used your "[ff0000]testing[-]" text, and it shows as red. Do you have any more details? Did you change the names of NGUI's shaders? Do they have any compile errors for your target platform?

Also see http://www.tasharen.com/forum/index.php?topic=15232.0
Title: Re: UILabel text wont show without a Material assigned
Post by: eyeofhorus on April 15, 2017, 10:02:08 PM
I think it's related to the shader compilation problem I mentioned on the other thread