[SOLUTION] The namespace <...> already contanins a definition for 'Movement'

As you can see from the image above, I was having some issues with the script from this lesson. Thankfully Good ol’ Google was able to help.
Apparently, this error says that there’s another file with a class called ‘Movement’ and so the way to fix it was to look for the script with the same name and delete it. Renaming it is another alternative but because the original Movement script had nothing besides the Start and Update (which makes sense if you look at the console in my screenshot above) it was alright to delete it.

A more thorough process can be seen in this video

1 Like

Thank you for sharing this

Privacy & Terms