I think it might actually be the camera going outside of the map. trying to move the camera out of bounds definitely crashes the game.

the reason it keeps crashing on mountain maps for me is probably because its clipping into a mountain.