Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Vicas on December 18, 2014, 08:04:35 AM

Title: NGUI Fonts randomly disappear when deactivating others
Post by: Vicas on December 18, 2014, 08:04:35 AM
I have a weird phenomenon where, by deactivating one GameObject containing an NGUI Label, other Labels disappear.

I have ensured that all labels have their own unique depth, but that does not solve the problem.

If you look at this example:
(http://new.tinygrab.com/e53ab9b91eb56a78eaf33caade05cc04a8a17adb53.png)
.. this has two labels. One for "BANK 3" and one for the number.

When I deactivate the number and replace it with a red cross (not an NGUI label, just an image) the top label disappears:
(http://new.tinygrab.com/e53ab9b91e7ae24686cc207ed0d0b41d248ad2e908.png)

This also happens when I activate other labels, not just when deactivating. What am I missing here?

Thanks in advance
Title: Re: NGUI Fonts randomly disappear when deactivating others
Post by: Vicas on January 02, 2015, 05:23:17 AM
Bump :/
Title: Re: NGUI Fonts randomly disappear when deactivating others
Post by: ArenMook on January 02, 2015, 10:01:54 PM
What version of NGUI and what type of font is it -- dynamic or bitmap?
Title: Re: NGUI Fonts randomly disappear when deactivating others
Post by: Vicas on January 06, 2015, 03:24:18 AM
What version of NGUI and what type of font is it -- dynamic or bitmap?

Hello ArenMook. Thanks for answering!

I'm running NGUI Version 3.5.8 and the fonts are Bitmap - I assume this has an effect on it? Can you elaborate?
Title: Re: NGUI Fonts randomly disappear when deactivating others
Post by: Nicki on January 06, 2015, 10:48:05 AM
In the olden times, I'd say check the depths - if they're all of the same material and in the same panel, then it may be something as simple as a depth layering issue where they get aggressively clumped together with the top one in a draw call- if the top one goes away they fall back to their own depths.

I thought the new system automatically fixed that with extra draw calls though.
Title: Re: NGUI Fonts randomly disappear when deactivating others
Post by: ArenMook on January 06, 2015, 11:10:32 AM
3.5.8 is extremely old. Please update to the latest first.
Title: Re: NGUI Fonts randomly disappear when deactivating others
Post by: Vicas on January 08, 2015, 04:46:14 AM
3.5.8 is extremely old. Please update to the latest first.

Yeah thing is I am not sure if I can, since due to licensing issues my company is not allowed to work in Unity4. I seem to be getting the classic "fatal error" jibberish typical when importing Unity4 stuff into an older version when importing the newest version. Though I thought that was impossible to actually get through the asset store...
Title: Re: NGUI Fonts randomly disappear when deactivating others
Post by: ArenMook on January 08, 2015, 09:00:53 AM
Unfortunately there isn't much I can do here. NGUI stopped supporting Unity 3 after version 3.6.0.