At least 20 buildings were damaged at Bundaberg during a thunderstorm at about 15 minutes past midnight.