title: Unity mesh vertices acces
body: <p>I have a problem when I try to acces a Unity mesh, the same code does't give the same result:(the mesh is a simple cube with 24 vertices)</p>
  <p>public class testVertices : MonoBehaviour
  {</p>
  <pre><code>void Start()
  {
      Mesh mesh = GetComponent&lt;MeshFilter&gt;().mesh;
      Vector3[] vertices = mesh.vertices;
  
  
      Debug.Log(vertices[0].x);
      Debug.Log(vertices[1].x);
      Debug.Log(vertices[2].x);
      Debug.Log(vertices[3].x);
     //the output is 0.5 -0.5 0.5 -0.5
  
  
      for (int i = 0; i &lt; vertices.Length; i++)
      {
          Debug.Log(i);
          Debug.Log(vertices[i].x);
      // the output is 0 0.5 1 -0.5 2 3 4 5 6 ...
      }
  }
  </code></pre>
  <p>}</p>
  <p>It seems that only the first two .x are printed. Any idea what's happening?</p>