Textures not applying properly to prededurally generated mesh

As the title indicates, I am unable to apply properly a texture to an procedurally generated object.
The image bellow shows the objects A, B and C.

A is a .OBJ file. It was imported to Unity the ‘regular’ way, by dragging and dropping it from the desktop, to Unity. This object was created from object B. I used a script that exports a mesh to a location (I exported object B to the desktop, essensially, making a copy of it in a different format)

B is an object that I created from reading an .DXF file. It is a 2D spline. I created a parser to extract the coordinates and manually calculated all triangles and stuff to create the mesh.

C is another .OBJ file, but imported dinamically during runtime.

All 3 objects share the same material, so why is B different?

going to guess it has something to do with the warning/error in the output window… ?

Looks like UV problems? There seems to be no lighting on it.

Yeah, looks to me like UV coords probably aren’t being computed and assigned. My bet would be that if you print them out they’re probably all 0,0.