That usually means that the script got deleted or its name, in either the script object or the class, changed, see if the script still exists or if the name is different in Unity or in the class declaration.
Hope this helps.
The player does not move
Well, yeah, if Unity thinks the script doesn’t exist the movement won’t occur, that’s what the error is telling you, there’s no script named Mover
according to Unity, you have to fix that by checking that the script actually exists and that it is properly written.
Hi 111189,
Does the file name match the class name inside the file? For example, is the Test class inside the Test.cs file? According to your error message, the Mover class seems to be in a script named playerController.
See also:
- Forum User Guides : How to mark a topic as solved
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.