I am following the Brackeys Multiplayer FPS Tutorial and I was on Episode 6. All my scripts suddenly stopped working, and they all came up with this error, even though their names matched. No idea what to do, as this destroys all the progress I have with the game so far and I would really like to get it fixed. Thanks.
A good idea might be to look at Brackey’s example code in conjuction with your own code, you may have missed something simple like the proper importing of libraries or accidentally deleted Monobehaviour at the top of your script.
If not it could be something to do with a third party application, something that cleans up files (eg. Mac Cleaner)