I'm not sure if this is the correct place to ask this or not. If its not please forgive me... I've been working on a script to create a sphere, that I can then deform. So far I can create the mesh of the sphere. The code is attached. Much of this code I've gotten, read about or seen on the web in one form or another, but its working in Unity now My issue is that the UVs are all messed up and I'm not sure how to correct it. This is my first real stab at creating 3D meshes and I'm just stuck. Any ideas how to fix the UVs so a texture (of say a planet like earth) would look correct on the mesh?