TextMeshPro - preferredWidth always 0 after Instantiate()

First thank you for creating the amazing text tool! I ran into this issue when I’m trying to dynamically place something at the end the the text. Here’s the sample code to reproduce the issue. I’m on version 1.0.54(July 2016) with source code. Upgrade to the latest version on asset store without source code does fix the problem, but for the time being we need to stick to the older version. Any workaround will be appreciated, thanks!

using UnityEngine;
using TMPro;

public class ResizeText : MonoBehaviour
{

public TextMeshPro template;

private TextMeshPro _text;

void Start ()
{
_text = Instantiate(template);
_text.text = “test”;
}

void Update () {

Debug.Log(_text.preferredWidth); //0
Debug.Log(_text.preferredWidth); //0
}
}

I did make changes related to the Preferred value computations so I suggest you update to the latest release from the TextMesh Pro user forum given you have source code access as a paid user and equally important no compatibility between scenes / assets created with the dll only version available on the Asset Store.