Yeah, I have. In public, in private, by strangers by people I know. By family members like my guy cousins. One cousin particular, he saw me out with my friends and pretended not to recognise me saying "there's no way I'm related to her". My aunties used to say things to my mum too, and my mum- I love her but she didn't help- she was constantly trying to reassure me with non-compliments like "don't listen to people who keep saying your ugly. You're not ugly to me. They might say you're ugly but you're my daughter and I love you". All I really heard was everyone thinks I'm ugly.
Also at school, happened on more than one occasion boys used to call me ugly. I was arguing with this guy and he was like "who cares you're the ugliest girl in school" he then proceeded to grab random boys walking by and asked them if they agreed with him... Spoiler alert, they all agreed.
My childhood friend once turned around and said to me "ah I wish you weren't ugly" we were like 13 at the time so imagine the damage that did! I had another "friend" at the time who would also not invite me whenever there were boys because she thought I'd be like a wet rag and put the boys off all of them.
Those are some of the worse times. But I've been called ugly many times. I can count on one hand the number of times I've been called attractive or beautiful by somebody who didn't have either an ulterior motive or an obligation to say so. Needless to say my confidence is non existent and I've never been in a relationship. I know I'm ugly, I'm learning to own it and even see that there might be someone out there that digs my ugliness... Although I mostly doubt it.