After Hoffman's tragic death in 2014, the production team faced a difficult decision. They could have rewritten the role or recast it, but ultimately decided to use a combination of previously filmed footage and CGI to complete his performance.
The CGI was used sparingly and focused on completing scenes where Hoffman had already filmed some parts but not all. The filmmakers were careful to avoid creating a digital clone of Hoffman, and the CGI was used to blend seamlessly with existing footage.
This was a sensitive and challenging situation, and the filmmakers were praised for their respectful and thoughtful approach.