I'm aware of the existence of complete (abstract) algebraic varieties that are not projective but, probably due to my ignorance, I have the impression that they arise only as very particular examples constructed just with the purpose of finding such an example. My question (perhaps a bit vague) is:
Are there exemples in the literature in which complete non-projective varieties appear without "being expected" from the beginning or without just being the goal of the construction or proof?

