Since The X-Files was based in Vancouver, BC, the show had to spend quite a bit of time making Canada look like various places across the U.S. One of the first big challenges the production had was recreating the New Mexico desert for the episode "Anasazi." Vancouver doesn't have deserts, so the crew spray-painted a rock quarry red so that they didn't have to relocate, according to showrunner Chris Carter. That's uh, certainly a solution.

There were several location issues on the set of The X-Files: Fight the Future, the first theatrical film. The cornfield scene was particularly rough, according to Den of Geek. Corn stalks can be sharp, so when the characters ran through them, they suffered numerous cuts. On top of this, Duchovny, who is taller, was running in front of Anderson, meaning all of the corn stalks that bounced off his shoulders were smacking her in the face. Another scene set in Texas was actually filmed in California City, CA. Apparently, it was so hot that day that the cast had to wear hidden ice packs for safety. 

In a polar opposite (get it?) situation, the crew used a soundstage to simulate part of Antarctica. They ordered a fake glacier, but it didn't match the location footage, so they covered it in real ice. Because they were using heat lamps to simulate daylight, the ice melted and, combined with the exhausts from the lights, made the studio fill up with carbon monoxide. The production then had to upgrade the ventilation to clear the studio so everyone wouldn't, you know, die.

ncG1vNJzZmivp6x7qL7Up56eZpOkunB9lmprcnBfl7a7rdGrnGasmJ67qL%2BMrZ%2BarF2drrG8xKecnWWfo3q1tMRmqp6sXaSzbsDHnmSxZZaeuaa%2Fjg%3D%3D