Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: DackAttack on February 01, 2013, 09:29:02 AM

Title: Font Asset Bundle Issue
Post by: DackAttack on February 01, 2013, 09:29:02 AM
There is a strange issue happening when I have a prefab that contains a label being loaded in from an asset bundle. When I drag the prefab into the scene the label looks as I would expect it to, but when the prefab is loaded from the asset bundle it appears as if the transparent layer of the font texture is being filled in incorrectly.

(The top label is the prefab, the bottom label is the prefab loaded from an asset bundle)

(http://i47.tinypic.com/2e5rv46.png) (http://i46.tinypic.com/331pwyw.png)

I saved out the font texture from the prefab that is loaded from the asset bundle and it looks like the whole background has gone from transparent to an opaque yellow:

(http://i46.tinypic.com/1077tir.png)

I just updated to NGUI 2.3.1 and was not seeing this issue previously with asset bundles. I have tried using several different fonts, including fonts that use an atlas, but I get the same results. This is happening with Unity version 3.5.6f4
Title: Re: Font Asset Bundle Issue
Post by: ArenMook on February 01, 2013, 09:30:23 AM
NGUI won't alter colors of the textures for you, so I can't tell you what's going on.