Procedural Mesh UV coordinates

Hi everyone,

So I have used the procedural mesh to create a block and I have three different textures to texture it (top, bottom, side). I used vertex colors and the material to choose which texture to use. The UV coordinates I use are (0,0), (0,1), (1,1), (1,0) but as you can see from the image it looks like that the top of the mesh is sampling the bottom of the texture (that thin brown line at the top). I’ve read that (0,0) is the same as (0,1) for UE4 but I don’t know how to fix it.

Hello! Can you provide texture?