Often, yes, if you do it wrong. It’s usually not a problem if the bones of the building get a bit wet before the roof goes on; things dry out easily before you install insulation and wall paneling. Larger buildings are all metal, glass and concrete until the exterior is done, so even less problems with water.