And the reason why it worked with the simple shape you used as a test is mapping coordinates are automatically applied to such a shape when you apply a material. Not so with complex meshes.
...