Story highlights Spacey came out as part of an apology

He's being criticized for connecting sexuality and alleged sexual misconduct

(CNN) Actors are usually hailed for coming out but Kevin Spacey is being criticized.

That's because many are taking exception with the "House of Cards" star revealing his sexuality as part of an apology in the wake of an accusation of sexual misconduct.

On Sunday, Buzzfeed published a story in which "Star Trek: Discovery" actor Anthony Rapp accused Spacey of making a sexual advance towards him in 1986 when Rapp was a 14-year-old child actor and Spacey was 26.

In response to the allegations, Spacey tweeted that he was "beyond horrified to hear [Rapp's] story."