Rob DesHotel, writer/co-executive producer of CBS’ comedy series Man with a Plan, has passed away. He died suddenly yesterday of a suspected heart attack. The veteran TV writer-producer was 52.

Known mostly for his comedy series work, DesHotel segued seamlessly between half-hour and hourlong shows throughout his career.

He landed his first staff writing job on the NBC comedy series Hope & Gloria. DesHotel went on to work on the first two seasons of Joss Whedon’s WB drama series Buffy the Vampire Slayer as story editor and executive story editor. He then joined Fox multi-camera comedy series That 70s Show at the start of Season 2 as co-producer and stayed on until the series’ end after eight seasons, rising to executive producer.

For the past decade, DesHotel worked on a string of CBS comedy series, Gary Unmarried, Mad Love, Mike & Molly and, most recently on the Matt LeBlanc starrer Man with a Plan, which he joined at the beginning of the second season as co-executive producer. The show’s third season, featuring DesHotel’s final work, premieres Feb. 4.

During a break from CBS, DesHotel did stints on the HBO drama True Blood and Fox comedy I Hate My Teenage Daughter.

DesHotel, hailed by friends as a genuinely nice guy liked by everybody, is survived by his wife, ABC Studios casting executive Emily DesHotel, and their two children.