title: TextMeshPro Text Object is not visible in unity gameView
body: <p>Created a script that adds a textMeshPro text in a gameObject that is child of a canvas. But the text is not visible in the gameView playmode but it is visible on scene mode. The text size is made big and the position is Oth point. </p>
  
  <p><a href="https://i.stack.imgur.com/hzM5C.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hzM5C.png" alt="enter image description here"></a></p>
  
  <p>Heres the code to make the textmesh object:</p>
  
  <pre><code>public GameObject g;
  
  // Use this for initialization
  void Start () {
      TextMeshPro mText = g.AddComponent&lt;TextMeshPro&gt;();
  
      mText.autoSizeTextContainer = true;
  
      mText.text = "Hello there";
  
      // Set various font settings.
      mText.fontSize = 748;
  
      mText.alignment = TextAlignmentOptions.Center;
  
  
  }
  </code></pre>
  
  <p>How can I make this visible to the camera? and Why its not rendering? </p>