The film was made as a co-production between DreamWorks Animation and Oriental DreamWorks, a Shanghai-based animation studio, founded in 2012 as a partnership between DreamWorks Animation and Chinese companies. One third of the film was made in China, and the rest in the United States, at DWA. This was the first time that any major American animated feature film had been co-produced with a Chinese firm. The filmmakers worked closely with SAPPRFT to ensure the film's release in China. As a film with a co-production status in China, it allowed the production companies to circumvent the country's strict import quota and take a greater share of box-office revenue than imported films. To ensure the film's success in China, in addition to the English version, the Chinese version of the film was also fully animated, making them the only versions that have the characters' lips synchronized with their voices.
