A man scheduled to testify this week as a witness in the “Ghost Ship” trial -- involving a fire at a Northern California warehouse that killed 36 partygoers -- has died before he was able to take the stand.

Robert Jacobitz died Sunday after collapsing in a parking lot in San Pablo, Calif., the East Bay Times reported. Police said they do not suspect foul play, as the man had suffered from extensive health problems.

Alameda County prosecutors had planned to call Jacobitz to testify this week in the trial of Derick Almena and Max Harris, who are each charged with 36 counts of involuntary manslaughter in connection with the Dec. 2, 2016, fire in an Oakland art collective warehouse known as the Ghost Ship. The fire erupted during an unpermitted music concert.

NEW YORK CITY APARTMENT FIRE KILLS 6, INCLUDING 4 CHILDREN

Officers responded to the parking lot Sunday around 2:40 p.m. where they found Jacobitz unconscious. Emergency workers tried to resuscitate him for 30 minutes before pronouncing him dead.

Prosecutors announced the death of their key witness in court on Monday, saying the man had died from “an accident.” Police spokesman Capt. Brian Bubar told the East Bay Times that news reports claiming Jacobitz died in a car crash were not accurate.

Max Harris, left, and Derick Almena, each face 36 counts of involuntary manslaughter in connection with the Dec. 2, 2016, "Ghost Ship" fire in Oakland, Calif. (Alameda County Sheriff's Office)

Max Harris, left, and Derick Almena, each face 36 counts of involuntary manslaughter in connection with the Dec. 2, 2016, "Ghost Ship" fire in Oakland, Calif. (Alameda County Sheriff's Office)

“All I can say about it at this point is that we responded to no other fatal incidents that day,” Bubar said, adding that “there is nothing suspicious” about Jacobitz's death.

Alameda County deputy district attorney Casey Bates told jurors last week that Jacobitz was an unlicensed contractor who performed inexpensive work at the warehouse soon after Almena rented it in November 2013.

CLICK HERE TO GET THE FOX NEWS APP 

Prosecutors allege that Almena, 49, stuffed the space full of highly flammable furniture, pianos and other material and failed to provide smoke detectors, fire alarms, sprinklers and other required safety equipment. Prosecutors say Harris, 29, helped Almena convert the warehouse, collect rent and schedule concerts.

Bates said during opening statements last week that Almena turned to Jacobitz for inexpensive help with the warehouse's conversion after another contractor told Almena it would cost at least $5,000 to install a fire door and new stairs to the second floor.

Prosecutors have also said Jacobitz performed electrical work at the warehouse. Investigators looked closely at the warehouse's electrical system before concluding the cause of the fire could not be determined.

The Associated Press contributed to this report.