Incorrectly UVs on procedural mesh.

I’m make loading model from .obj file, and vertices and triangles are works, but UVs incorrectly, or not works.

How it shound be:


In game:


Something missing, or not?

.obj file:

go to shading/uvs in blender and recalculate normals, in the image are flipped in the wrong direction

No, not in that problem. I’m get vt’s from .obj:

And distribute them on x and y:

Like in this video: Unreal Engine 4 Guide - Procedural pyramid - YouTube

But i make plane, happens N word, make cube or smth. else - it black.

But i think i need from “f 2/1/1” second number, because first for vertex, second i think for UVs, and last is just index.