Author Topic: More NGui problems - broken HUDtext possibly tied to latest update  (Read 3090 times)

DuaneDog

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 27
    • View Profile
I have another thread on here how I've been struggling literally for the past 10 hours trying to create an atlas or even add a sprite to an existing atlas.

Well I essentially gave up fixing it and reported to my team we are essentially dead in the water on that until I can get support from this forum. So I then decided to work on other aspects of my project and hopefully catch up some hours I've lost chasing down the create atlas maker issue.

So I fire my game up and my HUD text on my player is about 10% of the size it should be. I thought maybe I had messed up my scene trying to get the atlas stuff working, so I opened an entire other project and scene that I had not even used in days. It also has the same exact problem. Tiny HUD Text virtually unreadable.

Do we have a botched update that has broken apart our projects? I'm growing concerned as I have lots of hours now tied up in the atlas problem only to then have what seems to be a fairly significant setback in my HUDtext implementation as well. I was almost shocked that it wasn't just isolated in the scene I had been working on but is also broken in other scenes I have not touched in days. All of my GUI is instanced in the scenes and do not pull from any custom prefabs.

I've done a complete reboot from scratch, relaunched Unity, reloaded scenes, deleted NGui and reimported. All other components i work with seem just fine. Playmaker no problem. All unity seems to be doing what it should do. NGui just seems to have totally flaked on me and nothing I can do to get back up again.


DuaneDog

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 27
    • View Profile
Re: More NGui problems - broken HUDtext possibly tied to latest update
« Reply #1 on: February 01, 2014, 12:28:42 AM »
I'm definitely seeing now that the problem is Atlas related. In the first HudText1 screenshot you will see the font I have selected is Large (UI Font). I didn't particularly care what the font was at the time and had no issues until the problem I described in the previous post. Now if you look at HudText2 you will see that it appears there is no Atlas and it is "(none)".

The good news is I'm at least able to just go methodically through my scenes and fix this up. So this is now lower on my list of concerns. Yet I can't help but feel a pretty large setback I didn't anticipate and hoping we can hear some answers on how to get the Atlas Maker working again and adding sprites. Crossing my fingers that there are no more surprises.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: More NGui problems - broken HUDtext possibly tied to latest update
« Reply #2 on: February 01, 2014, 01:13:56 PM »
I've answered your atlas maker post. In regards to this -- the font isn't a part of an atlas, so it shows "None" as the atlas. The "Large" font never came bundled with any atlas.

HUDText issue is indeed my bad, I seem to have broken it in the last update when I added the default font size. I will adjust the HUDText package and put up a fix, thanks. You can fix it simply by setting the Font Size on the HUDText prefab. You have it at 16, which is quite small. Large text is size 48.