Hello Guest

Author Topic: SpriteCollection problem after updating from 2dtk 2.3.3 to 2.5.4  (Read 4142 times)

apbilyk

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 17
    • View Profile
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!

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: SpriteCollection problem after updating from 2dtk 2.3.3 to 2.5.4
« Reply #1 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?

apbilyk

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: SpriteCollection problem after updating from 2dtk 2.3.3 to 2.5.4
« Reply #2 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!