Mesh triangles are not showing up in editor

Hi,

I am following Sebastian Lague’s Procedural Landmass Generation tutorial, but I am stumped on the mesh part.

I’ve followed it thus far, and have written the code for the mesh, however I cannot get the mesh triangles to show up in the editor mode. I saw a similar question being asked and the solution was to recall the vertices, which I have done with:

public Mesh CreateMesh() { Mesh mesh = new Mesh(); mesh.vertices = vertices; mesh.triangles = triangles; mesh.uv = uvs; mesh.RecalculateNormals (); return mesh; }

I have created the empty GameObject “Mesh” and assigned to it the “Mesh Mat” material, and on my “MapGenerator” game object, I have added the Mesh Filter and the Mesh Renderer.

It shows a new plane map like this:

however I can’t get the triangles/vertices to show up.

I was wondering if anyone had a solution to this?

Thanks.

Maybe I am too late but i think what you are looking for is “Selection Wire” in Scene → Gizmos. Enable this checkbox. 203258-sprite-0001.png

I have the same issue. Pls post update if you fix it