title: What should I replace "GUILayer" component with?
body: <p>I am trying to open a 5.5.3f1 project into 2019.3.2f1 for multiple reasons.</p>
  
  <p>The only remaining issues I have are related to the recent removal of the "GUILayer" component, here are the last errors I get :</p>
  
  <p>Errors:</p>
  
  <p><img src="https://i.stack.imgur.com/e7VXX.png" alt="Errors"></p>
  
  <p>(end of the two cut lines)</p>
  
  <p>End of lines:</p>
  
  <p><img src="https://i.stack.imgur.com/Sqb28.png" alt="End of lines"></p>
  
  <p>All these errors come from the same script : "SteamVR_Camera.cs". Here are this script's namespaces and problematic areas :</p>
  
  <pre><code>using UnityEngine;
  using System.Collections;
  using System.Reflection;
  using Valve.VR;
  </code></pre>
  
  <hr>
  
  <pre><code>var guiLayer = GetComponent&lt;GUILayer&gt;();
  if (guiLayer != null)
  {
      DestroyImmediate(guiLayer);
      head.gameObject.AddComponent&lt;GUILayer&gt;();
  }
  </code></pre>
  
  <hr>
  
  <pre><code>var guiLayer = head.GetComponent&lt;GUILayer&gt;();
  if (guiLayer != null)
  {
      DestroyImmediate(guiLayer);
      gameObject.AddComponent&lt;GUILayer&gt;();
  }
  </code></pre>
  
  <p>Do you know what I have to use instead of GUILayer for my project to compile ?
  Thanks in advance. </p>