2D Toolkit Forum

2D Toolkit => Support => Topic started by: glider521al on January 07, 2013, 04:24:07 am

Title: Visual sprite editor disappears with upgrade to Unity 4
Post by: glider521al on January 07, 2013, 04:24:07 am
When upgrading to Unity 4 something strange happened:
I realized that I could no longer use the visual editor with my sprite collections.

The Open Editor button has disappeared from the inspector view of every sprite collection that I created or create thereafter. HELP :(

Hi, I came to report then when upgrading my project to Unity 4.0 everything seemed to work fine,
that is until I realized that I could no longer use the visual editor with my sprite collections.


EDIT: After redownloading the latest patch (2dtoolkit 1.8 path 3) and installing it to a new project I observe the following:
Initially any new 2d sprite collections work as expected with the visual editor accessible by the "open editor" button.

However as soon as I close the project the sprite collection is converted into a Tk 2d Sprite Collection Data script.
Rendering it unusable.

This never happened in Unity 3.5, why is it happening in Unity 4?

I am using Unity 4.0.07f XD
Title: Re: Visual sprite editor disappears with upgrade to Unity 4
Post by: unikronsoftware on January 07, 2013, 11:14:03 am
It shouldn't happen, and doesn't in all my test cases. I know a few others who have upgraded to 4 successfully too.

If you'd like me to look at the project, zip it up and send it my way. I will only need a section of your project which exhibits the issue, not the entire thing. I could probably work it out if I had a reliable repro case.
Title: Re: Visual sprite editor disappears with upgrade to Unity 4
Post by: AdamSingle on November 12, 2013, 04:22:21 am
I know this thread is old, but I'm having this exact issue. Every Sprite Collection I create seems to become a Sprite Collection Data. Or I'm looking at the wrong thing. I can't find a way to open the sprite collection editor to add a sprite to a collection at all. Any help would be great.

EDIT
And of course the moment I post this I figure it out. Never mind.
Title: Re: Visual sprite editor disappears with upgrade to Unity 4
Post by: bearlyawesome on November 12, 2013, 05:21:17 am
I've been having a similar issue where with Unity 4.2.2 I can't see the Edit/Config dialogs on a Sprite Collection. I'm not in debug mode in the inspector and I have 2D Toolkit 2.23. Any thoughts on why that might be?
Title: Re: Visual sprite editor disappears with upgrade to Unity 4
Post by: unikronsoftware on November 12, 2013, 09:56:30 am
Post some screenshot of what you see? I'm not sure what is wrong there.
Title: Re: Visual sprite editor disappears with upgrade to Unity 4
Post by: Vartib on November 14, 2013, 05:15:43 pm
I think I'm having the same issues. Here's a screenshot of what it looks like to me: http://i.imgur.com/ySaY7tW.jpg
Title: Re: Visual sprite editor disappears with upgrade to Unity 4
Post by: unikronsoftware on November 14, 2013, 11:58:07 pm
You're clicking on the data object and not the sprite collection itself, that is in the folder above.
Title: Re: Visual sprite editor disappears with upgrade to Unity 4
Post by: Vartib on November 15, 2013, 04:29:59 am
Doh, thank you!