Hi,

For a test I’m trying to just display a simple mesh (2D square) on the screen.

I created an empty gameobject with just a MeshFilter component and a Script component. Here’s the simple code in UnityScript. There’s no errors, but it doesn’t show anything on the screen.

```
function Start () {
// Create the vertices
var Vertices = Array();
Vertices[0] = Vector3(0, 0, 0);
Vertices[1] = Vector3(1, 0, 0);
Vertices[2] = Vector3(0, 1, 0);
Vertices[3] = Vector3(1, 1, 1);
// Create the UVs
var UVs = Array();
UVs[0] = Vector2(0, 1);
UVs[1] = Vector2(1, 1);
UVs[2] = Vector2(0, 0);
UVs[3] = Vector2(1, 0);
// Create the 2 triangles
var triangles = [ 0, 1, 3, 3, 2, 0 ];
// Display the mesh
var m = Mesh();
GetComponent.<MeshFilter>().mesh = m;
m.vertices = Vertices;
m.uv = UVs;
m.triangles = triangles;
}
```

Can you see where’s my mistake? Thanks!