Author Topic: Dynamic Fonts are not rendering in webplayer after showing popup  (Read 3523 times)

Pranav

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 1
    • View Profile
Hi,

I am facing an issue while rendering the UILabel dynamic/unity fonts on the web player.
The rendered dynamic text is disappearing, whenever browser is creating a popup window, and it reappears if I switch the browser tabs.
So tried to re-render text in OnApplicationFocus(), but its not much useful as some times its not working and rendering the huge size fonts (may be its changing the font texture to a larger size on).
And there are lot of different components which are rending the text on screen so it will be tedious to re-render each component.

any help would be appreciated.

« Last Edit: June 04, 2014, 12:27:31 PM by Pranav »

dipu5683

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 27
    • View Profile
Re: Dynamic Fonts are not rendering in webplayer after showing popup
« Reply #1 on: June 04, 2014, 08:48:54 AM »
i am also facing the same issue . Can any one help ?  :'(

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Dynamic Fonts are not rendering in webplayer after showing popup
« Reply #2 on: June 05, 2014, 12:17:57 AM »
Dynamic fonts are unreliable and suffer from various issues on Unity's side. This particular feature was never finished in Unity. I don't advise using them in anything other than stand-alone games (and personally I don't use them at all anymore).

FizzPow

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 83
    • View Profile
    • FizzPow Games
Re: Dynamic Fonts are not rendering in webplayer after showing popup
« Reply #3 on: June 06, 2014, 04:37:15 PM »
Do we know if Unity 4.5 or upcoming 4.6 address any issues with dynamic fonts?  I would hate to have to switch back to bitmap fonts again.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Dynamic Fonts are not rendering in webplayer after showing popup
« Reply #4 on: June 06, 2014, 09:54:04 PM »
Nothing has changed in 4.5. 4.6? No idea.

FizzPow

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 83
    • View Profile
    • FizzPow Games
Re: Dynamic Fonts are not rendering in webplayer after showing popup
« Reply #5 on: June 06, 2014, 09:56:01 PM »
4.6 has the new GUI system, I assume they would have to fix dynamic fonts for the built in labels to work properly?