Carver explained that at age 12, when he realized that he wanted to be an actor, he also knew about his sexuality.

"It was around that age that I also knew, however abstractly, that I was different from some of the other boys in my grade," Carver wrote on Instagram. "Over time, this abstract 'knowing' grew and articulated itself through a painful gestation marked by feelings of despair and alienation, ending in a climax of saying three words out loud: I am gay."

According to the 27-year-old actor, once his Hollywood career reached new heights, he had to pretend to be different while in the public limelight.

"I would 'have to' bisect myself into two halves, a public and private persona, the former vigilantly monitored, censored, and sterilized of anything that could reveal how I self-identified in the latter," Carver wrote on Instagram.

"I know that because of all of the brave men and women who've come out, self-identified, or couldn't have possibly ever been "In." So to them, I am also forever grateful," he wrote on Instagram.

Carver also addressed that the 'coming out' experience will be different for everyone. He shed light on LGBTQ youth who are homeless due to some families that may not accept them. He hopes that his courageous story will inspire others to come out and be proud.

"If you're ready and feel safe, then think about sharing this part of yourself with others," he wrote on Instagram.