Yes, but its how that sensor "sees" through the windows. For instance all windshields block UV light... so if the sensor uses a similar wavelength to detect rain, that portion of the windshield is specially designed to allow it to work properly and that increases costs. Ive seen some windshields upwards of $900 due to specialized features like that.

Glad to hear ours doesn't seem to be one of the expensive ones!