Investigators also have not officially disclosed who found the body or why police went looking for him.
Salling, best known as Noah "Puck" Puckerman on "Glee," was arrested in December 2015 after the LAPD's Internet Crimes Against Children Task Force served a search warrant on his home. In May 2016, he was charged in a federal indictment with receiving and possessing child pornography, the Justice Department in Los Angeles announced.
Salling was scheduled to be sentenced under a plea agreement reached with federal prosecutors in which he admitted to possessing pornographic images of prepubescent children. The agreement stated that a search warrant found more than 50,000 images of child porn on Salling's computer and a thumb drive.
Prosecutors agreed to ask a judge to sentence the actor to a prison term of four to seven years. He would also be required to register as a sex offender, pay restitution and abide by restrictions on where he could live.
Salling is the second "Glee" actor to have died. Cory Monteith was found dead in a hotel room in Vancouver, British Columbia, in July 2013. He was 31. The local coroner determined Monteith's death was caused by accidental drug overdose due to a toxic mix of heroin and alcohol.