2D Toolkit Forum

2D Toolkit => Support => Topic started by: Dajuice on November 25, 2013, 04:59:51 pm

Title: Color on runtime, some bug
Post by: Dajuice on November 25, 2013, 04:59:51 pm
Here is a video depicting the bug;
http://www.youtube.com/watch?v=ymGWVJz1SAQ&feature=youtu.be (http://www.youtube.com/watch?v=ymGWVJz1SAQ&feature=youtu.be)

As you can see, I set the color of some sprites and the color is not changed, this happens only at runtime, what I see is there is some weird mesh phenomenon "Combined Mesh (root: scene) (Mesh Filter)"
Title: Re: Color on runtime, some bug
Post by: unikronsoftware on November 25, 2013, 05:07:08 pm
Do you have "Static" ticked on the game object? It looks like unity static batching is merging the meshes.
Title: Re: Color on runtime, some bug
Post by: Dajuice on November 26, 2013, 02:52:02 pm
yeah... that may be it... sorry for that, I forgot about this functionality, I surely copied a static sprite to start my assets, then I wanted to make my assets static and I noticed. Like always you are such a pro at diagnosing!