 Some of this film was shot in Levittown, Pennsylvania at a Jacobson  logistics warehouse site. (Shyamalan has committed to using films  sites in PA.) The set, built on the warehouse site, includes an  apartment complex and a half city block of row houses. Occasional  footage was shot inside the overflow area of the warehouse. Most of  the filming was completed after Jacobson work hours.