create plane .cs from wiki not working on Unity4 ?

it isnt making a mesh for me in unity4. why wouldnt it make a mesh? i.e: Mesh(none)
i tried to make 5 6 planes but they arent getting any mesh.

http://wiki.unity3d.com/index.php?title=CreatePlane

It works fine on my machine (Unity 4).
if you place as an answer then i can take this off unanswered list. thanks!