title: Can't add script component because the script class cannot be found?
body: <p>Yesterday I updated unity from unity5 to 2018.2.2f1. Unity scripts are not loading after Update 2018.2.2f1.</p>
  
  <p>Once I try to play the Scene the scripts are not loaded and I can't add the script again it gives this error:</p>
  
  <blockquote>
    <p>Can't add script component 'CubeScript' because the script class
    cannot be found. Make sure that there are no compile errors and that
    the file name and class name match.</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/1CNsf.png" rel="noreferrer"><img src="https://i.stack.imgur.com/1CNsf.png" alt="Error"></a></p>