Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - gdeglin

Pages: [1]
1
Support / Unable to create animation clips
« on: April 24, 2013, 10:05:01 am »
Somehow I broke things in such a way that I am no longer able to create new animation clips even though I can create sprites just fine.  I get the following errors when I create a clip...

"Unable to find any sprite collections (from the GetDefaultSpriteCollection method)" followed by ...
NullReferenceException: Object reference not set to an instance of an object
tk2dSpriteAnimationEditorPopup.CreateNewClip () (at Assets/TK2DROOT/tk2d/Editor/Sprites/SpriteAnimationEditor/tk2dSpriteAnimationEditorPopup.cs:357)
tk2dSpriteAnimationEditorPopup.<DrawToolbar>m__33 (System.Object userData, System.String[] options, Int32 selected) (at Assets/TK2DROOT/tk2d/Editor/Sprites/SpriteAnimationEditor/tk2dSpriteAnimationEditorPopup.cs:395)

I tried removing all 2d toolkit plugin files and re-installing from the asset store but this seems to break lots of stuff. Specifically, I get multiple define errors between my TK2DROOT/tk2d/Code/* directories and my Plugins/tk2d/* directores.

If I copy the the TK2DROOT/tk2d/Code/* directores into the Plugins/tk2d folder (as the Setup For Javascript command normally does), most of the errors go away. But I still get an error that says "The type or namespace name `tk2dClippedSpriteSample' could not be found." ... which is weird because I thought this was renamed to just tk2dClippedSprite instead of tk2dClippedSpriteSample in 1.92. And in either case, my clip creation problem is not solved.

2
Support / Upgrading issue
« on: March 22, 2013, 12:33:42 am »
I'm trying to upgrade from 1.9 final to 1.9.2 beta 3 on Unity 4.1.0f4.

If I try to import the new version while the old one still exists, I get a bunch of errors about imported types being defined multiple times.

I tried rebuilding the project index, but that seems to completely break everything. Specifically, the 2dtoolkit menu gets reduced to just "Setup for Javascript" with no other menu items & I can no longer create any 2dtoolkit components. It breaks so badly that I have to restore the project from a backup.

Is there a more correct method for upgrading the 2dtk package? If I delete it first, won't that break all of my existing sprites?

Pages: [1]