title: TextMeshPro Null Reference Exception
body: <p><strong>EDIT: Solved. Used <code>TextMeshProUGUI</code> instead of <code>TextMeshPro</code>.</strong>  </p>
  
  <p><strong>Background:</strong><br>
  I'm using TextMeshPro to display text. I want to change the text via a script. The problem is I get a NullReferenceException when I attempt to change it. </p>
  
  <p><strong>Details:</strong>  </p>
  
  <p>My script:</p>
  
  <pre><code>using System.Collections;
  using System.Collections.Generic;
  using UnityEngine;
  using TMPro;
  
  public class UI_speed : MonoBehaviour {
  
      TextMeshPro textmeshPro;
  
      void Start () {
          textmeshPro = GetComponent&lt;TextMeshPro&gt;();
          textmeshPro.text = "test";
      }
  }
  </code></pre>
  
  <p>The code matches the <a href="http://digitalnativestudios.com/textmeshpro/docs/ScriptReference/TextMeshPro-text.html" rel="noreferrer">TextMeshPro API</a> so I'm not sure what's going on. I'm using Unity 5.6.1f1. Any help is greatly appreciated. Thank you.
  <a href="https://i.stack.imgur.com/oxP27.png" rel="noreferrer"><img src="https://i.stack.imgur.com/oxP27.png" alt="My workstation"></a></p>