New Mesh Doesn't Render On Entity

As shown in the image, I am creating new Mesh for entity based on world points and tringles that connect them.

When creating it in the GameObjects way, it shows all as supposed to, but when trying to add the mesh to the entity, in the inspector it shows all correct, but I can’t see it in the scene view, I have no idea why. Is there something I am missing?

Second parameter in FromRenderMeshArrayIndices() is supposed to be a length.

Based on the documentation, it’s supposed to receive the index and not length, and for some reason the next day without changing anything, the mesh appeared in the scene.

Were you thinking of FromMaterialMeshIndexRange?

I was. Sorry about that.