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

[TextMesh Pro] Color (Vertex) reverting to prefab value on save scene or on play mode

Discussion in 'UGUI & TextMesh Pro' started by QuantumCalzone, Mar 10, 2017.

  1. QuantumCalzone

    QuantumCalzone

    Joined:
    Jan 9, 2010
    Posts:
    262
    Loving TextMesh Pro but there's a liiitle problem when making text a prefab.

    Currently, when I change an instance of a prefab's Color (Vertex) value, it reverts to it's source's value on saving the scene or on entering play mode.

    Here's a link to an isolated project of the bug. Pretty straight forward.

    This is using the new free version of TextMesh Pro.

    Thanks for your time! <3
     
  2. Stephan_B

    Stephan_B

    Unity Technologies

    Joined:
    Feb 26, 2017
    Posts:
    6,588
    I will be flying most of the day but will take a look over the weekend.
     
  3. Stephan_B

    Stephan_B

    Unity Technologies

    Joined:
    Feb 26, 2017
    Posts:
    6,588
    I had a chance to look into this and the behavior is related to some change with the [FormerlySerializedAs] attribute.

    Since this was used to handle conversion of older TMP text objects created prior to Unity 4.6, this attribute / handling is no longer necessary so I have removed it. I'll try to release a new version of TMP within the next few days.