2D Toolkit Forum

2D Toolkit => Support => Topic started by: apbilyk on July 14, 2015, 07:07:33 am

Title: SpriteCollection problem after updating from 2dtk 2.3.3 to 2.5.4
Post by: apbilyk on July 14, 2015, 07:07:33 am
Hello!

I'm currently running Unity 4.3.4f1 (I do plan to update Unity later, after squaring the following away!) and just updated 2dtk from 2.3.3 to 2.5.4.  After this transition, all of my sprites from my existing SpriteCollections look pink.  If I change a SpriteCollection's shader from the standard tk2d/BlendVertexColor (which used to work for me) to something like sprites/default, the sprites show up in my game view but have some weird display errors and are still pink in editors like the SpriteAnimation editor.  I imagine there's an easy fix for this, but it's eluding me so far.

Along the same lines, I tried to create a new SpriteCollection and am running into a similar issue.  The resulting sprites look pink, and by default the created material isn't even connected to the created atlas.  A lot of the new settings go over my head, but prior to updating, this approach worked -- so I was able to get away with my lack of knowledge by default!

If you need any more info to diagnose, just let me know.

Thanks for your help!
Title: Re: SpriteCollection problem after updating from 2dtk 2.3.3 to 2.5.4
Post by: unikronsoftware on July 14, 2015, 02:15:21 pm
Hi,

2.5.4 was exported with Unity 4.6, not tested on 4.3.
If you select the tk2d/BlendVertexColour shaders in the project window, does it show any errors?
Title: Re: SpriteCollection problem after updating from 2dtk 2.3.3 to 2.5.4
Post by: apbilyk on July 15, 2015, 05:26:28 am
I believe there was a "no normals found" or similar error listed, but that's now a moot point.  Your suggestion to update Unity to 4.6 did the trick -- all works just fine now.  Thanks for the quick help, as always!