The new film, which was set in the apartment building where Williams grew up, had been shot and was in post-production, but has now been cancelled.
With the success of Sonic the Hedgehog 3, Jim Carrey’s total box office has passed several other major Hollywood stars.