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.


Messages - gdeglin

Pages: [1]
1
Support / Re: Unable to create animation clips
« on: April 24, 2013, 10:03:45 pm »
Yeah I excluded the demo files. Version 1.92 final. Unity 4.1.2f1

2
Support / Re: Unable to create animation clips
« on: April 24, 2013, 10:24:06 am »
Ok I found a solution. Creating a throw-away sprite collection that has no multiple platforms enabled seems to make things work.

3
Support / Re: Unable to create animation clips
« on: April 24, 2013, 10:15:06 am »
The problem just got even stranger (but hopefully closer to a solution...)

If I remove multiple platform support, I am able to create a clip just fine. But once I add 1x, 2x, and 4x I get the same error as above.

4
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.

5
Support / Re: Upgrading issue
« on: April 01, 2013, 08:30:55 pm »
if you deleted it, and all your game objects got disconnected, it implies the GUIDs are broken. Did you ever check into version control / move project without .meta files turned on?

Interesting. Not that I know of. I do use version control pretty heavily (using GIT), but meta files are turned on and I always check them in.

Hopefully disabling and re-enabling meta files fixed this going forward. It looked like this caused them all to be deleted and then re-created.

I've since upgraded to Unity 4.1.2 and things seem to be working well now. Thanks for the help!

6
Support / Re: Upgrading issue
« on: March 29, 2013, 06:19:10 am »
I think I was finally able to get it working. I tried following your steps, but deleting all the tk2d stuff would cause every single one of my tk2d related gameobjects to get disconnected from the correct tk2d script and it would have taken forever to fix them one at a time.

Here everything I did to finally get it working (most likely not all steps were required):
1. Downgraded to Unity 4.0.1
2. Disabled then re-enabled meta files
3. Switched to a blank scene
4. Moved all code from plugins/tk2d/ into TK2DROOT/tk2d/Code
5. Installed latest version tk2k ( 1.9.2 final, patch 1)
6. Setup for JavaScript

7
Support / Re: Upgrading issue
« on: March 22, 2013, 12:43:24 am »
1. Do you use javascript?
Yes

2. Have you moved tk2d from the default directory?
No

3. Did you do it from outside Unity?
No

8
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]