Maybe the first 3 weeks it wasn't known. But right in the beginning of the pandemic every single (then zoom) ASHRAE meeting I attended was about COVID. It was all about transmission in air and and about how being outside is safe. There was that study about the split AC unit in a Chinese restaurant that was chewed through multiple times. There were multiple CFD studies that showed how viruses transfer within a a space (and not through the AHU in any meaningful number). And there were the studies that showed that being outside on a beach is safe. That literally was in the very beginning of the pandemic. The Science was there right away. Politicians then, for one reason or another, came up with the rules to wear a mask outside, and to tell people to wash hands and so on. Obviously politicians had their own agenda, and have no scientific education. And obviously those rules were only meant to give people a coping blanket, politicians never adhered to the rules.
And the fact that UV doesn't have a residual disinfecting value was maybe known.. .. since UV was discovered. It is light, why would people think it disinfects after air or surfaces are not exposed anymore?