Author Topic: Fonts always rendering black  (Read 8005 times)

dadrester

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 14
    • View Profile
Fonts always rendering black
« on: June 07, 2016, 10:45:12 AM »
Hey,

I've just started a new project an run into a bug where Dynamic fonts always appear black. Now I know there are various problems with Unity and dynamic fonts but we're doing nothing outside the ordinary and we've completed several projects using exactly the same system and had zero problems. Right now The scene is empty but for a camera, an NGUI texture and a dynamic font UI Label. Unfortunately we can't create font sheets and use NGUI font system for this project or I would, but either way I'm wondering if anyone has seen this before or knows a workaround. NGUI version is 3.9.8 and actually that's the only thing that's been updated between a project where the same system worked flawlessly and now.

Cheers
Dre

dadrester

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 14
    • View Profile
Re: Fonts always rendering black
« Reply #1 on: June 07, 2016, 10:53:54 AM »
Seems... It's either a bug in NGUI 3.9.8. or a botched shader import when I started the project. Either way, I deleted the NGUI folder and imported an older version and it's now working perfectly.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Fonts always rendering black
« Reply #2 on: June 09, 2016, 02:22:28 PM »
Sounds shader related. I can only suggest looking closer at the differences between the shader used.