2D Toolkit Forum
2D Toolkit => Support => Topic started by: mrmons on June 12, 2013, 06:41:46 am
-
I get this 2 error after I upgrade my unity
Assets/PlayMaker/Actions/toolkit2d/Sprite/Tk2dSpriteGetPixelPerfect.cs(75,37): error CS1061: Type `tk2dBaseSprite' does not contain a definition for `pixelPerfect' and no extension method `pixelPerfect' of type `tk2dBaseSprite' could be found (are you missing a using directive or an assembly reference?)
Assets/PlayMaker/Actions/toolkit2d/Sprite/Tk2dSpriteGetPixelPerfect.cs(77,63): error CS1061: Type `tk2dBaseSprite' does not contain a definition for `pixelPerfect' and no extension method `pixelPerfect' of type `tk2dBaseSprite' could be found (are you missing a using directive or an assembly reference?)
I have go to asset store and upgrade the 2Dtoolkit.
How can I solve this?
-
Did you upgrade Unity alone, or did you update 2D Toolkit as well - looks like you have?
And the error looks like its from the playmaker action...
If there updated playmaker actions for 2D Toolkit 2.0, you should update that too.
-
Aw...is from playmaker, ya I update both of it.
But this error still occur. So I should report this error to playmaker?
or in unity 4.0 2Dtoolkit no longer support playmaker?
or playmaker no longer support 2Dtoolkit.
I hope not.....that would really kill me....
-
Where did you get the playmaker actions from?
-
I get from playmaker>editor ?
it since like if any error occur, playmaker menu won't appear when I first upgrade to unity4, I commentize all the error only the menu will appear.
I done most of my thing by using playmaker editor include 2Dtoolkit stuff...
it since like all the error is related pixelperfect code in 2Dtoolkit
-
The pixelperfect stuff was deprecated (i.e. removed) in 2D Toolkit 2.0 as its old, archaic and not really very useful. I'll take a look at the playmaker stuff when I can to see what I can do.
-
If playmaker 2DToolkit wasn't the latest version?
nothing I can do right now?
-
You can fix the Playmaker - 2D Toolkit interface script. If you send me the script (support at unikronsoftware.com) I could probably work out what needs to be changed.
Or downgrade to the previous 2D Toolkit version (1.92 + patch 1).
-
...I don't think I can fix it wouldn't need playmaker .., I have sent the script to info@unikronsoftware.com
Would appreciate if you can help to fix the error.
Thank you
-
Hi,
I'm getting the same error - did you manage to find a fix for this?
-
I'm guessing you updated to 2D Toolkit 2.0 as well? If so, you can find playmaker actions here
http://unikronsoftware.com/2dtoolkit/forum/index.php/topic,1954.0.html
This is for 2D Toolkit 2.0 specifically, if you updated to a newer version, the playmaker actions are included in the 2D Toolkit goodies folder, just install the unity package from there.
-
This url don't work http://unikronsoftware.com/2dtoolkit/forum/index.php/topic,1954.0.html
-
http://2dtoolkit.com/forum/index.php/topic,1954.0.html
But you don't need playmaker actions downloaded they are bundled in tk2d in the goodies folder.