Everything has errors for no reason,

Hi, I’m a new Unity user
making a 3d FPS game using a tutorial. So yesterday, All of my code was working fine, like other days. But then today, when I opened the scripts (C#) everything had an error and almost all the errors say Ambiguity between… (for example) Ambiguity between ‘Enemy.player’ and ‘Enemy.player’. Does anyone know how to fix this? Here is a screenshot:

1 Like

Do you have any files or classes with the same name in your project, because that does not work, it looks like your duplicated your scripts folder.

Check if have duplicate files of the ones mentioned in the errors and erase one

1 Like

sorry, i cant check it for you as the first package i saw costs 211 euro’s, you can search for the file names in your folder and then if you see multiple for one tell me what it is

1 Like