Prominent adult film actress Amber Rayne died of accidental cocaine overdose in her San Fernando Valley-area home in April, the Los Angeles County Department of Medical Examiner-Coroner’s office said Friday.

The actress, whose real name was Meghan Wren, was using cocaine with a friend when she stood up in her living room and collapsed, according to the coroner’s report.

• RELATED PHOTOS: Amber Rayne, adult film star who died young, selfies and candids

No other cause of death was identified, said Ed Winter, assistant chief for the coroner’s office.

The 31-year-old actress, began working in the adult industry in 2005 and had more than 500 credits, according to a tribute to her on the Adult Video News (AVN) website. In 2009, she was named AVN’s “Unsung Starlet of the Year.”

Police responded to Rayne’s Sun Valley home on April 2, and detectives said no foul play was suspected.

• RELATED STORY: Neighbors, friends in Sun Valley shocked by death of adult actress Amber Rayne

Rayne was very active on social media and did not indicate that anything was wrong. The day before she died, she tweeted that a friend was on the way to visit her “with wine, cookie dough & pizza.”

Rayne had made headlines recently after she was one of at least 10 adult film actresses to accuse fellow adult actor James Deen of sexual assault, according to published reports.