What if an alleged harasser is unaware that the acts he/she committed bothered another person?

It doesn't make any difference. They can still be found guilty of harassment.