The question is answered, right answer was accepted
2 error messages i can't seem to fix (CS0101 and CS0111)
My game worked just a few minutes ago, and now all these error messages pops up. I can't solve the issue because i just started with Unity and coding today.
Error message 1: Assets\Scripts\PlayerMovement.cs(3,14): error CS0101: The namespace '' already contains a definition for 'PlayerMovement'
Error message 2: Assets\Scripts\PlayerMovement.cs(13,10): error CS0111: Type 'PlayerMovement' already defines a member called 'FixedUpdate' with the same parameter types
Answer by YoungDeveloper · Jul 08, 2019 at 11:53 AM
Error pretty much tells you the problem - you have two scripts in your project with name 'PlayerMovement'.
Thanks for the answer! How stupid of me.. I found two identical movement scripts, so i deleted one of them. Worked like a charm!