 According to director Peter Berg (I) (qv), they were scouting a  location in the Amazon forest of Brazil when they were held up at  gunpoint by three locals and robbed of all cash, computers, and  other valuables. After that (probably a joke) the shoot location was  changed to Hawaii.