2D Toolkit Forum
2D Toolkit => Support => Topic started by: rxmarcus on March 10, 2014, 04:42:49 pm
-
I updated the 2DTK from the unity asset store into my project, now when running my project im getting 'The name 'tk2dEditorSpriteDataUnloader' does not exist in the current context.
It is a script error found in the 'tk2dSpriteCollectionData.cs' (564,17)
Any help on resolving this? Or should I just revert back to the old version?
-
If you've run SetupForJS in the past, have you run it again?
-
hmm what is SetupForJS? All my scripting that I do is in C# if that makes a difference.
-
Did you move the tk2d folder from the default installation directory? Its looking for that file tk2dEditorSpriteDataUnloader and can't find it for some reason. If you find that file and put it where it belongs it should work properly. It should be in the same folder as tk2dBaseSprite, etc.
-
I didn't move anything, and just confirmed that the file is in the same folder as 'tk2dBaseSprite.cs'. They are all found under "TK2DROOT/tk2d/Code/Sprites/..."
-
I ended up fully deleting my 2DTKROOT folder, and importing from the asset store again. My project builds now, but gets a strange error "tk2d Undo/Redo callback failed. Undo/Redo not supported in this version of Unity". Im running 4.3.4 btw.
-
What version of 2D Toolkit is installed? 2D Toolkit > About? It looks like the asset store has borked the download and is importing an old version....
-
Version 2.1 final + hotfix 1
-
Yup thats pretty ancient. The one on the asset store is 2.3.3
Its probably worth trying to force unity to download it again in the asset store downloads, or register your copy and download it from the forum here.
-
Cool, just submitted a request for membership, ill download it from here once I'm accepted.