title: Unity GUI not working with Tango
body: <p>I wanted to create a quick "main menu" scene for my <a href="https://www.google.com/atap/project-tango/" rel="nofollow">Google Tango</a> project using <a href="http://unity3d.com/" rel="nofollow">Unity</a>.<br>This is the code I got: </p>
  
  <pre><code>using UnityEngine;
  using System.Collections;
  
  public class Main : MonoBehaviour {
  
      public Object[] scenes;
  
      void OnGUI () {
          if (GUI.Button(new Rect(100, 200, 200, 100), "test Button")){}
  
          for (int i = 0; i &lt; scenes.Length; i++) {
              if(GUI.Button(new Rect(0, i * Screen.height / scenes.Length, Screen.width, Screen.height / scenes.Length), "Load " + scenes[i].name)){
                  Application.LoadLevel(scenes[i].name);
              }
          }
      }
  }
  </code></pre>
  
  <p>This should (and does.. at least in the Editor) work just fine.<br>However I can only see the single "test Button" on screen.</p>
  
  <p>Why does this happen?</p>