near sensor

why isnt my near sensor working

Is the property you are testing for present within the range of the sensor?
Please be more specific when asking a question like this.

because near sensors can detect only actors [regardless of the property and material stuff]