Hello Guest

Author Topic: Color on runtime, some bug  (Read 4974 times)

Dajuice

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 45
    • View Profile
Color on runtime, some bug
« 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

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)"

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Color on runtime, some bug
« Reply #1 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.

Dajuice

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 45
    • View Profile
Re: Color on runtime, some bug
« Reply #2 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!