Using the nearestBuilding or nearestObjects commands on Altis will cause the game to freeze and eventually crash.
Using them on Stratis does not cause this to happen.
duplicate of http://feedback.arma3.com/view.php?id=13719
didn't see dupe in search