Unwrapping on a mesh created with an array giving unpredictable results
Should be straightforward.



Go into the UV workspace and choose the top orthographic view. Select the object a and then u and choose Project from view: Bounds



That's it. In case it is upside down then just rotate as required.