I suppose you'll never really know who is "right" until a long time afterwards.
I've worked with guys and girls who have been really well thought of by their peers, who have been complete cunts to me. Oh well, maybe they don't like me; maybe we got off on the wrong foot; maybe they just had a bad day. I can't be liked by everyone, so I haven't ever taken it personally.
I think if I kept coming across people who were shitty with me, then I'd have to take a moment of self-reflection and think "maybe I'm being the arsehole" - I mean everyone comes across a fuckwit most days. Sometimes you come across two fuckwits in a day if you're unlucky. If you're encountering fuckwits on a daily basis though, then maybe it's time to look in the mirror.
That said. I've worked on a project with someone who seemed to be adored in the office but I couldn't fucking stand her. I just rolled with her bullshit for the rare occasions we had to collaborate and wrote it off as a personality clash, but it wasn't until she moved offices and her name came up in a meeting ten years later, where nobody had a good word to say about her that I felt strangely validated.
Sometimes it just takes a while for someone to show their true colours.