Don Rickles, the voice of Mr. Potato Head, passed away before he was able to record any dialogue for Toy Story 4. Rather than replace him, Disney reviewed 25 years of material from the first three films, video games, and other media and were able to assemble enough dialogue to cover the entire film. – WTF Fun Facts
Source: https://ew.com/movies/2019/03/28/toy-story-4-potato-head/
very interesting fact
But did they pay him royalties for his estate, or did the poor multi-billion dollar cooperation just dodge around legalities to get work done cheaply?