title: Unity SteamVR Actions not Working in Build
body: <p>I am trying to switch to another scene when the headset is removed. It is already working in the Unity editor, however, not in the build. </p>
  
  <p>Setup:</p>
  
  <ul>
  <li>Unity 2018.3.6f1 </li>
  <li>SteamVR Unity Plugin v.2.2.0 </li>
  <li>Vive Pro</li>
  </ul>
  
  <p>This code is working in the editor:</p>
  
  <pre><code>using System.Collections;
  using UnityEngine;
  using UnityEngine.SceneManagement;
  using Valve.VR;
  public class EndGame : MonoBehaviour
  {    
      [Tooltip("This action lets you know when the player has placed the headset on their head")]
      public SteamVR_Action_Boolean headsetOnHead = SteamVR_Input.GetBooleanAction("HeadsetOnHead");
  
  void Update()
  {
      if (SteamVR.initializedState != SteamVR.InitializedStates.InitializeSuccess)
      {
          return;
      }
  
      if (headsetOnHead != null)
      {
          if (headsetOnHead.GetStateDown(SteamVR_Input_Sources.Head))
          {
              StopCoroutine(RestartGame());
          }
          else if (headsetOnHead.GetStateUp(SteamVR_Input_Sources.Head))
          {
              StartCoroutine(RestartGame());
          }
      }
  }
  IEnumerator RestartGame()
  {
      yield return new WaitForSecondsRealtime(3);
      SceneManager.LoadScene("Startscene", LoadSceneMode.Single);
      yield return null;
  }
  }
  </code></pre>
  
  <p>In the Editor \actions\default\in\HeadsetOnHead is referenced to public SteamVR_Action_Boolean headsetOnHead.</p>
  
  <p>The actions.json (including /actions/default/in/HeadsetOnHead) is in the build folder and the logs don't show any errors. </p>