 Principal photography began at Leavesden on , 2012.The "Los Angeles Times" said on the second day, Liman "demanded a total reshoot of everything filmed on Day 1", which concerned producers.Filming on the beach set was scheduled to last two weeks, but extended to nearly three months due to what the "Los Angeles Times" called "the director's self-described 'workshop-y' filming style".