Texture is rendered as a flat colored surface
When UV unwrapping, I hadn't selected all the sides of the object. Press A to select everything, then U to unwrap it all. Marking seams and unwrapping does nothing when there is nothing selected and there is no error message.