proposed a fix to the previous problem: just put in 0,0 as the uv coordinate if the index is missing for that vertex.