Exporting vertex UV coordinates
I just solved this problem. My thinking was wrong. I realized, that it is impossible to draw meshes using indices when one vertex is shared among few faces, where each face has different UV mapping on that vertex. The solution was to change format to face list.