The referenced script on this Behaviour is missing - on any new script
Hi,
I have found lots of posts with this "The referenced script on this Behaviour is missing" warning, but none seem to match mine.
I have 5 scripts attached fine, but one of the scripts seems to throw this warning (all it has in it is a Debug Log statement on start), and if I create any new script - it will show the same warning for it straight away.
The project runs just fine, the only problem is it complains about this and any new script and it does not run it. In the Inspector it shows: "The associated script can not be loaded. Please fix any compile errors and assign a valid script."
Things I have tried:
Deleting the script and adding it again
Moving the script
Adding a new script
Click the circle next to the problem script (in Inspector) to open the "select monoscript window", and reselecting the same script (or even a new script)
Please advise! Thanks.