title: Unity VR World Space Canvas UI and objects overlapping
body: <p>I'm having a problem in my VR application.<br>
  I made something like a menu in a canvas (world-space canvas) and I attached it to the main camera (the only one I need).</p>
  
  <p><a href="https://i.stack.imgur.com/uzuvB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uzuvB.png" alt="enter image description here"></a></p>
  
  <p>The problem is that the menu (the canvas) which is about 1 meter ahead of the main camera is crashing with the rest of elements of the scene (walls, etc.), when these walls/other elements are closer than menu to the camera.</p>
  
  <p>I'm trying to find out a way to assign some kind of precedence to the canvas menu to avoid the overlapping and show the whole menu always.</p>