Cant continue with these errors

Severity Code Description Project File Line Suppression State
Error CS0121 The call is ambiguous between the following methods or properties: ‘Controls.Controls()’ and ‘Controls.Controls()’ Assembly-CSharp D:\UnityProjects\Multiplayer GameDev Course\Assets\Scripts\Input\InputReader.cs 20 Active
Severity Code Description Project File Line Suppression State
Error CS0229 Ambiguity between ‘Controls.Player’ and ‘Controls.Player’ Assembly-CSharp D:\UnityProjects\Multiplayer GameDev Course\Assets\Scripts\Input\InputReader.cs 21 Active
Severity Code Description Project File Line Suppression State
Error CS0229 Ambiguity between ‘Controls.Player’ and ‘Controls.Player’ Assembly-CSharp D:\UnityProjects\Multiplayer GameDev Course\Assets\Scripts\Input\InputReader.cs 24 Active

Make sure you do not have 2 Controls scripts in your project. It looks to me like you do. This sometimes happen with the input stuff when you change it to generate code. It may create the file and then, when you change the location and stuff where it should generate it, it generates a new copy and now you have 2. Or it generates and then you move the file into a folder. the generator does not know about this move, so it generates a new copy in the original place

1 Like

I can’t believe that was the issue.

Thank you so much

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms