2D Toolkit Forum

2D Toolkit => Support => Topic started by: AppleGuy on March 26, 2012, 01:58:01 pm

Title: Sprite Collection name issue
Post by: AppleGuy on March 26, 2012, 01:58:01 pm
I just added a bunch of textures into a sprite collection and click on the commit button.  However, upon clicking on edit, I realized the names in the dropdown list are all pointing to the wrong images.  How can I resolve this?
Title: Re: Sprite Collection name issue
Post by: unikronsoftware on March 26, 2012, 02:56:58 pm
Any ideas how this has happened? It gets the sprite names from the actual texture names, but only when the sprites are first added. Did you go in and change the sprite names, or is this a bug?
Title: Re: Sprite Collection name issue
Post by: AppleGuy on March 26, 2012, 11:19:44 pm
Nope.  I have not changed its name.  I simply dragged all the textures into the an existing collection I have and encountered this issue.  I tried to remove all the textures and re-added them but I am still having the same issue.
Title: Re: Sprite Collection name issue
Post by: unikronsoftware on March 27, 2012, 09:22:15 am
Oh wait, I think I may know what this is. Can you try this - remove the textures, commmit, then add the new textures, and commit again?

p.s. If this is causing the issue, I'll be releasing the new editor (completely rewritten) very shortly now. Just doing some final tests now to make sure its backwards compatible to older versions of 2D Toolkit. This completely gets rid of all these issues, and also adds multi select & edit, etc.
Title: Re: Sprite Collection name issue
Post by: ENAY on April 10, 2012, 10:53:32 am
This is happening to me too. I had 73 sprites and then I changed the order of them and clicked commit, everything works ok but the names of the Sprite in the Inspector window still contains where the images were positioned before I changed them.
Title: Re: Sprite Collection name issue
Post by: unikronsoftware on April 10, 2012, 11:14:42 am
What version of 2D Toolkit are you using?
Title: Re: Sprite Collection name issue
Post by: ENAY on April 11, 2012, 03:47:27 am
1.56, Unity3.5
Title: Re: Sprite Collection name issue
Post by: unikronsoftware on April 11, 2012, 11:17:45 am
That is a very old version - this issue has been fixed with the new sprite collection editor interface in version 1.60.