If the object is also a shadow caster, it could be that the bias value of the shadow generator is too low, try to raise it.