Mark Salling had been on police bail when he was discovered dead in a suspected suicide, close to his Los Angeles home.
The actor, best known for playing Noah ‘Puck’ Puckerman in Glee, had been due to return to court in March for sentencing after pleading guilty to possessing child sex abuse images.
US media reported that the children featured in the 50,000 images found in the actor’s possession were between three and five years of age.
Police were reportedly tipped off about the images on his computer by one of his ex-girlfriends.
He was arrested in December 2015 and later released on bail for $20,000.
The case was later passed onto federal authorities when police realised the severity of the images.
Lieutenant Andrea Grossman, commander of the LAPD Internet Crimes Against Children Task Force, said at the time: "It doesn’t matter who you are or what you do, if you hurt a child you will be held accountable."
She added: "These images are more than photographs, they are child abuse."
In December 2017 Salling then pleaded guilty to two counts of possessing child pornography.
It was reported the actor could face 20 years behind bars, but Salling reached a plea deal in October.
He agreed to make restitution to the victims – $50,000 per victim – presumably to be paid to the children in the photographs.
Prosecutors agreed that the appropriate sentence for Salling would be four to seven years in prison, with 20 years of supervised release.
As part of his release, Salling was registered as a sex offender and not allowed to live within view of any school yards, parks, public swimming pools, playgrounds, video arcades, or any other places that are regularly visited by people under the age of 18.
Before accepting the plea bargain in his case, it was reported that Salling had tried to take his own life.
It was claimed the shamed Glee star cut his wrists in an attempted suicide in the bedroom of his LA home on August 22.
Salling apparently "freaked out" after doing it, before screaming for his roommate who found him bleeding and called for emergency services.
Paramedics rushed to his home where they treated him before taking him to hospital, according to TMZ.
TMZ announced news of the actor’s death on Tuesday.
The site reports that sources from US law enforcement said the actor’s body had been discovered near his Los Angeles following a suspected suicide.
* Samaritans (116 123) operates a 24-hour service available every day of the year. If you prefer to write down how you’re feeling, or if you’re worried about being overheard on the phone, you can email Samaritans at firstname.lastname@example.org