This is the problem I have: I have created an empty GameObject and I add a mesh Filter to it, but I want to be able to change the triangles of this mesh Filter as I want by script. So the idea is to do a this.GetComponent() in the script and edit it.
Have you added code to set custom normals? works the same as setting vertices or UVs. Create an array of Vector3 and assign it to the mesh.normals property. It must be the same length as mesh.vertexCount.
Are normals Vector2? I thought they were Vector3, actually the code itself has Vector3 to define normals. I have added normals as you say, the code has no errors but nothing appears in the scene…
I am not sure how to set up UV’s either…but I think that is not important for now.