I am getting this error Assets\Scripts\MeshGenerator.cs(35,20): error CS1003: Syntax error, ','

When posting code, make sure to use Code Tags on this forum.

It’s a Syntax Error, it tells you exactly what line it’s on.

triangles = new int[]
{
0, 1, 2
1, 3, 2
};

You don’t have a comma in between each number.