Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Performance on Color Lerping

Discussion in 'UGUI & TextMesh Pro' started by Xylph, Oct 23, 2014.

  1. Xylph

    Xylph

    Joined:
    Dec 11, 2013
    Posts:
    30
    I noticed that there's a big drop in performance when trying to change the color property of multiple numbers (around 20+) of Image/Text components.

    I'm using this behavior for my action game where lots of damage numbers pop up then fade out. First, I thought it was a problem of creating those damage number objects since I'm not pooling them. I turned off the script that lerps the color over a set time and the game is smooth again (my first guess was wrong)

    Another thing, after I built it for web, it seems that the game is smooth again. I'm assuming that this is an editor-only performance drop but I don't know of a way to test that.

    I'm using Beta 20.

    Thanks!
     
  2. Xylph

    Xylph

    Joined:
    Dec 11, 2013
    Posts:
    30
    Up. Anyone experiencing the same problem or know what's happening?