Detection arrangement for capacitive detection of a physical variable on the inside and/or the outside of a vehicle window or building window or in its immediate environment, comprising: - a glazing unit for forming the vehicle window or building window, which has at least one glass pane or polymer film, wherein a capacitive sensor is arranged on a first surface of the or a glass pane or polymer film, which sensor comprises a first sensor section and a second sensor section spaced at a distance therefrom on the first surface, which second sensor section acts as a signal readout section, wherein during operation of the sensor, an electrical field is generated between the first and second sensor section, which field partially penetrates the glass pane or polymer film, wherein a material property compensation electrode is provided on the second surface of the same glass pane or polymer film, opposite the second sensor section, wherein a first connecting line of the first sensor section and a common second connecting line of the second sensor section and of the material property compensation electrode are provided, - a voltage supply unit connected to the second sensor section of the capacitive sensor and to the material property compensation electrode, which is designed for applying the same potential to the second sensor section and to the material property compensation electrode, and - a readout and evaluation device for reading a capacitance signal from the second sensor section of the capacitive sensor and for processing the signal to determine a value of the physical variable, wherein the readout and evaluation device is implemented to take into account a voltage signal originating from the material property compensation electrode. - a glazing unit for forming the vehicle window or building window, which has at least one glass pane or polymer film, wherein a capacitive sensor is arranged on a first surface of the or a glass pane or polymer film, which sensor comprises a first sensor section and a second sensor section spaced at a distance therefrom on the first surface, which second sensor section acts as a signal readout section, wherein during operation of the sensor, an electrical field is generated between the first and second sensor section, which field partially penetrates the glass pane or polymer film, wherein a material property compensation electrode is provided on the second surface of the same glass pane or polymer film, opposite the second sensor section, wherein a first connecting line of the first sensor section and a common second connecting line of the second sensor section and of the material property compensation electrode are provided, - a voltage supply unit connected to the second sensor section of the capacitive sensor and to the material property compensation electrode, which is designed for applying the same potential to the second sensor section and to the material property compensation electrode, and - a readout and evaluation device for reading a capacitance signal from the second sensor section of the capacitive sensor and for processing the signal to determine a value of the physical variable, wherein the readout and evaluation device is implemented to take into account a voltage signal originating from the material property compensation electrode.