Why the Arial-font is not selected?

(1.) I create a GameObjet(buildBlock) Script
(2.) Then I create a second child GameObjet(prize), which includes the TextMesh
(3.) All other TextMesh settings(fontsize,color…) are successful and can be seen settled right,
but not the font(prize.GetComponent(TextMesh).font = myFont;)
See → 1614227--98277--$TextMesh.png
Is this a font download problem? How do I fix this?
(1.)
var buildBlock : GameObject = GameObject.CreatePrimitive(PrimitiveType.Cube);
buildBlock.transform.position = Vector3(place.transform.position.x ,
place.transform.position.y ,
place.transform.position.z-.1);
buildBlock.transform.localScale = Vector3 (60, 60, 0.1);
buildBlock.renderer.material = new Material( Shader.Find (“Transparent/Diffuse”) );
buildBlock.renderer.material.color = color;
(2.)
var prize = new GameObject(“TextField”);
prize.transform.parent = buildBlock.transform;
prize.transform.position = Vector3(place.transform.position.x-10 ,
place.transform.position.y ,
place.transform.position.z-.1);
prize.transform.localScale = Vector3 (0.1, 0.1, 0.1);
prize.AddComponent(TextMesh);
var meshRender: MeshRenderer = prize.GetComponent(MeshRenderer);
var material: Material = meshRender.material;
meshRender.material = Resources.Load(“Arial”, Material);
var myFont : Font = (Resources.Load(“Arial”) as Font);
Debug.Log(“Font:”+myFont);
prize.GetComponent(TextMesh).font = myFont;
(3.)
prize.GetComponent(TextMesh).fontSize = 20;
prize.GetComponent(TextMesh).color =Color.black;
prize.GetComponent(TextMesh).fontStyle = FontStyle.Bold;

prize.GetComponent (TextMesh).text = “103”;

Such a solution helped a little bit forward.

  1. I copied the couri.ttf(font file) to a folder(Assets/Resources/)
  2. Script-change
    prize.AddComponent(TextMesh);
    var meshRender: MeshRenderer = prize.GetComponent(MeshRenderer);
    var material: Material = meshRender.material;
    meshRender.material = Resources.Load(“couri.ttf”, Material);
    var myFont : Font = Resources.Load(“couri”,Font);
    Debug.Log(“Font:”+prize.GetComponent(TextMesh).font);
    prize.GetComponent (TextMesh).text = “10”;
    prize.GetComponent(TextMesh).font = myFont;
    prize.GetComponent(TextMesh).fontSize = 20;
    prize.GetComponent(TextMesh).color =Color.black;
    prize.GetComponent(TextMesh).fontStyle = FontStyle.Bold;
    Now the font is selected correctly. →
    1618945--98861--$TextMesh_Couri.png

The problem is that the text is still not displayed in the GameObject
1618945--98865--$gameObject.png
The text will be displayed only when I change font the first None, and then choose the actual font(Arial or couri) from Incpector view.
Why this script does not work? Anybody else had a problem with the font?