Joshua Jackson played a devious gay character who hooked up with a guy for the purpose of outing him in Cruel Intentions.
Early in his acting career, Will Smith received critical accolades for portraying a gay character in Six Degrees of Separation.
Shay Mitchell portrays the lesbian character Emily on Pretty Little Liars, whose family struggles with her sexuality.
Naya Rivera plays lesbian character Santana on Glee, but in real life she's engaged to rapper Big Sean.
Andy Samberg played the ironically masculine, even bro-y gay younger brother of Paul Rudd's character in I Love You, Man.
Paul Rudd himself played a gay best friend whom Jennifer Aniston's character developed feelings for in The Object of My Affection.
He played one of the most iconic gay characters in television history, but Will & Grace star Eric McCormack is married to a woman.