Tesla Vision fails as owners complain of Model 3 cameras fogging up in cold weather
(www.notebookcheck.net)
They aren't normally sealed in most integrations, but will often have heater wires around them or embedded in the windshield that will heat up the windshield/sensor enclosure, just like the defog on a rear window or mirrors.