not sure why unity is crashing when i try to play the scene

unity seems to crash as soon as i try to run the game with this code. it worked fine until the
while(true) line was added. any ideas why this might be?

void Start(){
		y = 0;
		StartCoroutine(checkTurrets());
	}

	IEnumerator checkTurrets(){
		while (true) {
			if (GameObject.Find ("right") != null) {
			} else {
				y++;
			}
			if (GameObject.Find ("left") != null) {
			} else {
				y++;
			}
			if (GameObject.Find ("bottom") != null) {
			} else {
				y++;
			}
			if (y == 3) {
				y++;
				SphereCollider sc = gameObject.AddComponent (typeof(SphereCollider)) as SphereCollider;

			}
			}
		}
	}

Because you have an infinite loop in your checkTurrets() without giving control back to the main thread,

Add this line at the end of your while loop (make sure its inside the while loop)

  yield return null;

also you will probably get bad performance because you use GameObject.Find a lot. this is slow.
you can read about that here