title: Unity UI button not reacting to clicks or hovering
body: <p>I'm using Unity 3D's new UI system to build a pause menu for my game. Currently I'm trying to have my buttons respond to mouse clicks. Some of my hierarchy is as follows:</p>
  
  <p><a href="https://i.stack.imgur.com/mLVAB.png" rel="noreferrer"><img src="https://i.stack.imgur.com/mLVAB.png" alt="Canvas hierarchy"></a></p>
  
  <p>When I click on one of my buttons in-game nothing happens, this includes a lack of button animation that should occur when hovering. My "Main Canvas" gameobject contains the following components:</p>
  
  <p><a href="https://i.stack.imgur.com/JNmYZ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/JNmYZ.png" alt="Canvas components"></a></p>
  
  <p>I have already ensured that my Image component has "Raycast target" checked and that my Button component has "Interactable" checked.</p>
  
  <p><a href="https://i.stack.imgur.com/cnrS3.png" rel="noreferrer"><img src="https://i.stack.imgur.com/cnrS3.png" alt="Button"></a></p>
  
  <p>Could this be because my Canvas' render mode is in screen space (camera)? I need the render mode to be set to this because I have 3D models that are added in front of the UI during gameplay.</p>
  
  <p>Things I have already tried / checked:</p>
  
  <ul>
  <li>Ensured that an EventSystem was present</li>
  <li>Checked that another UI element wasn't covering the buttons, preventing a raycast</li>
  <li>Ensured that the camera rendering the UI is above my main camera that is attached to the player. The rendering UI camera has a layer of 1 while the player camera has a layer of 0.</li>
  </ul>