If I reload my Unity, I cant use my scripts.
It says “No MonoBehaviour scripts in the file, or their names do not match the file name”, but there
is a “public class CharacterController2D:MonoBehaviour” and the names in the file are also equal
Hi!
I have been working on a project for two weeks. All the scripts attached to any gameobject where working properly until, without any change made, all showed this error: The associated script cannot be loaded, please fix any compile errors and assign a valid script, even in Unity’s scripts like Camera Smoothfollow one…
There is not any compiling errors in them but i cant even see them in the component menu or drag and drop them in the inspector. I have tried a new project and the same scrip…
This is not really a question, this is an answer for everyone that may have this problem. (I solved this a minute ago) It all happened when I was synchronizing my project on a remote server, and opened at the same time the same project in Unity. ...
There are various answers in those links on the issue.