I'm a new Unity user, and I'm having issues when trying to attach a C# script to a GameObject:
Can't add script component XYZ, because the script class cannot be found. Make sure there are no errors and that the file name and class name match.
Searching online this issue usually happens when the class name and file name are different, but I've checked that and they are the same. I even tried creating a new empty/default C# script and tried attaching that, but no luck. This is completely empty project, and there are no other scripts with compile errors. GIF showing the error
Any ideas, help would be appreciated?
I'm running Unity 2019.1.of2 Personal on Ubuntu 19.04
Test
. (It shouldn't matter, but...) Also, are there any other errors or warnings in the console? – 3Dave