Hi,
I am trying to make a new empty gameObject and add to it a component “TextMesh”. After that I am adding a font, which I have added to my script, and then put a text. but All I get is pink unreadable text. When I check Game Object, it has everything setted as I wanted[39261-font+problem.jpg|39261]
Here’s the sample of my code:
GameObject pressUseText = new GameObject("Press USE to Pick Text");
pressUseText.AddComponent<TextMesh>();
pressUseText.GetComponent<TextMesh>().text="Hello World";
pressUseText.GetComponent<TextMesh>().font=pressUseFont;
Thanks in advance! 
Hi,
make sure that you have assigned a Material in the Mesh Renderer.
