Hello Guest

Author Topic: Unable to view Sprite Collections in editor  (Read 6259 times)

fsadeq

  • 2D Toolkit
  • Sr. Member
  • *
  • Posts: 353
    • View Profile
Unable to view Sprite Collections in editor
« on: November 20, 2013, 07:40:32 pm »
So my Unity crashed, I did a reboot of my machine (OS X), and now I can't seem to view the Sprite Collection editor window (version 2.3). I select a collection, click "Open Editor" and nothing happens at all. No errors or messages in the console, nothing. I thought maybe the window is just popping up off screen somehow, but I've reset my displays, gathered all windows, relaunched everything and I can't figure it out. I've re-installed 2DTK, rebuilt indexes, etc.

Please help!

EDIT: I'm seeing this error in my console:

Code: [Select]
Failed to destroy editor windows: #1
tk2dSpriteCollectionEditorPopup
UnityEditor.WindowLayout:LoadWindowLayout(String, Boolean)
« Last Edit: November 20, 2013, 07:43:20 pm by fsadeq »

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Unable to view Sprite Collections in editor
« Reply #1 on: November 20, 2013, 07:42:52 pm »
Its definitely not hidden behind something else? Does the animation window show? Is the window on another monitor or something crazy like that?
Send me an email or something later and we'll try to narrow this down.

fsadeq

  • 2D Toolkit
  • Sr. Member
  • *
  • Posts: 353
    • View Profile
Re: Unable to view Sprite Collections in editor
« Reply #2 on: November 20, 2013, 07:43:50 pm »
Modified message above, with error.

fsadeq

  • 2D Toolkit
  • Sr. Member
  • *
  • Posts: 353
    • View Profile
Re: Unable to view Sprite Collections in editor
« Reply #3 on: November 20, 2013, 07:54:38 pm »
Ok, I've figured it out - it's some weird bug with Unity (I'm using 4.3) and the editor windows. Here is exactly what happened, might be useful:

-Unity crashed
-Rebooted computer
-Upon re-launching Unity, I got some error message about my layout (I don't recall the message, but it screwed up my layout that I was using)
-I re-arranged my panels to how i like them, saved it as a new layout

-Eventually, I try to open up a sprite collection
-Nothing happened
-Tried switching layouts to the Default one (This is where I got the error message above).
-If i switched back to my saved layout and tried to open the Sprite Collection, nothing would happen
-Switch layout back to one of the default ones and the error would appear again.
-Am able to open the sprite collection in one of the default layouts.
-Saved as a new Layout, and works fine now.

Weird.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Unable to view Sprite Collections in editor
« Reply #4 on: November 20, 2013, 09:44:58 pm »
Hooray for Unity 4.3 bugs :)

Glad you've got to the bottom of it though.

LilBitStudio

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Unable to view Sprite Collections in editor
« Reply #5 on: December 04, 2013, 08:20:44 pm »
Just an fyi, just had the same issue.

In order to get the TK2D SpriteCollection window to appear, I had to load one of standard layouts. Issue followed a script crash on load.

Thanks fsadeq for posting your workaround.

geno

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Unable to view Sprite Collections in editor
« Reply #6 on: December 06, 2013, 10:32:00 pm »
Hi, I just suffered the very same problem.
Thanks a bunch for posting a working solution, fsadeq! :-)

WastedMeerkat

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Soundcloud
Re: Unable to view Sprite Collections in editor
« Reply #7 on: January 04, 2014, 03:31:49 am »
Same thing happened to me, thanks for the solution!