Author Topic: Atlas maker: Add/Update does nothing (anymore)  (Read 15628 times)

Bradamante3D

  • Jr. Member
  • **
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 79
    • View Profile
Atlas maker: Add/Update does nothing (anymore)
« on: September 05, 2013, 05:41:44 PM »
I just upgraded my NGUI version (and restarted Unity).

Now I want to create a new Atlas. I do so, selecting some textures when creating it. However, they don't show up in the list. Create the atlas by hitting the button. Select textures in the folder. The green Add/Update button shows up. Clicking it does nothing. "Texture" button is dark grey and says N/A. There's no error message on the Console. Restarting Unity or saving the scene does nothing.

Is this a new bug or did I forget how to create new Atlases properly?
#301224014, #301432336, #302399130

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Atlas maker: Add/Update does nothing (anymore)
« Reply #1 on: September 05, 2013, 08:06:37 PM »
The sprite list is now a drop-down, clicking the header hides or shows the list of sprites. What "texture" button are you talking about?

barrenjunk

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
Re: Atlas maker: Add/Update does nothing (anymore)
« Reply #2 on: September 06, 2013, 01:38:30 PM »
Greetings.  I just ran across this same problem.  The 'Texture Button' that the original poster is referring to is under the Material button on Atlas Maker.  In previous versions clicking this would bring up the inspector for the texture that the atlas's material referenced.  If I select an existing atlas prefab i am able to see the sprite dropdown you are referring to however I am unable to create a new atlas or add sprites to an existing one.  After creating a new Atlas, selecting textures to add and clicking the Add/Update All button (basically the steps that use to work) I end up with an Atlas prefab and a Material for the Atlas.  However the Texture referenced by the material is blank and no new Texture containing the packed Sprites has been created.  Just to make sure that it was not an issue being caused by another plugin I imported NGUI into a new, empty project but had the same results.

This issue seems to have started when I updated to NGUI 2.6.5b. I'm working with Unity on Windows version 4.2.0f4.  Our game is heavy on the UI side and we do not have access to the Unity 4.3 beta so my only option at this point is to downgrade NGUI.  Any help with this would be greatly appreciated.

Thanks for the help.

subvertio

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 3
    • View Profile
Re: Atlas maker: Add/Update does nothing (anymore)
« Reply #3 on: September 06, 2013, 01:48:46 PM »
Just noticed you have to click it now, its like a rollout as far as seeing the sprites in a list.

Bradamante3D

  • Jr. Member
  • **
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 79
    • View Profile
Re: Atlas maker: Add/Update does nothing (anymore)
« Reply #4 on: September 06, 2013, 07:17:54 PM »
The sprite list is now a drop-down, clicking the header hides or shows the list of sprites.

Huh, yeah, that was it. Talk about a button in disguise :D

If I select an existing atlas prefab i am able to see the sprite dropdown you are referring to however I am unable to create a new atlas or add sprites to an existing one.  After creating a new Atlas, selecting textures to add and clicking the Add/Update All button (basically the steps that use to work) I end up with an Atlas prefab and a Material for the Atlas.  However the Texture referenced by the material is blank and no new Texture containing the packed Sprites has been created.

I did just that, works fine for me here, once I figured that the list header is a button. Did you save the scene to write the atlas changes? Does the texture look blank to you because you are using a non-transparent shader/material?
« Last Edit: September 06, 2013, 07:26:00 PM by Bradamante3D »
#301224014, #301432336, #302399130